| 16 | using namespace testing; |
| 17 | |
| 18 | struct SettingsValuesTest : Test |
| 19 | { |
| 20 | const std::filesystem::path mSettingsDefaultPath = std::filesystem::path{ OPENMW_PROJECT_SOURCE_DIR } |
| 21 | / "files" / Misc::StringUtils::stringToU8String("settings-default.cfg"); |
| 22 | |
| 23 | SettingsValuesTest() |
| 24 | { |
| 25 | Manager::mDefaultSettings.clear(); |
| 26 | Manager::mUserSettings.clear(); |
| 27 | Manager::mChangedSettings.clear(); |
| 28 | SettingsFileParser parser; |
| 29 | parser.loadSettingsFile(mSettingsDefaultPath, Manager::mDefaultSettings); |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | TEST_F(SettingsValuesTest, shouldLoadFromSettingsManager) |
| 34 | { |
nothing calls this directly
no test coverage detected