|
SERiF 0.0.1a
3+1D Stellar Structure and Evolution
|
Unit tests for the Config class. More...
#include <gtest/gtest.h>#include "config.h"#include <iostream>#include <string>#include <vector>#include <set>#include <sstream>#include <algorithm>Go to the source code of this file.
Classes | |
| class | configTestPrivateAccessor |
| class | configTest |
| Test suite for the Config class. More... | |
Functions | |
| TEST_F (configTest, constructor) | |
| Test the constructor of the Config class. | |
| TEST_F (configTest, loadConfig) | |
| TEST_F (configTest, singletonTest) | |
| TEST_F (configTest, getTest) | |
| TEST_F (configTest, secondSingletonTest) | |
| TEST_F (configTest, isKeyInCacheTest) | |
| TEST_F (configTest, cacheSize) | |
| TEST_F (configTest, unknownKeyTest) | |
Variables | |
| std::string | EXAMPLE_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests/config/example.yaml" |
Unit tests for the Config class.
Unit tests for the resourceManager class.
Definition in file configTest.cpp.
| TEST_F | ( | configTest | , |
| cacheSize | ) |
Definition at line 96 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| constructor | ) |
Test the constructor of the Config class.
Definition at line 50 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| getTest | ) |
Definition at line 65 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| isKeyInCacheTest | ) |
Definition at line 89 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| loadConfig | ) |
Definition at line 54 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| secondSingletonTest | ) |
Definition at line 84 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| singletonTest | ) |
Definition at line 59 of file configTest.cpp.
| TEST_F | ( | configTest | , |
| unknownKeyTest | ) |
Definition at line 105 of file configTest.cpp.
| std::string EXAMPLE_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/tests/config/example.yaml" |
Definition at line 10 of file configTest.cpp.