summaryrefslogtreecommitdiff
path: root/test/config_test.cc
AgeCommit message (Collapse)Author
2023-05-18Cleanup: replace some list with vector.Carl Hetherington
2022-09-15Fix some spelling mistakes (mostly in comments).Carl Hetherington
2022-09-05Let config/cinemas/dkdm_recipients take care of their own recovery.Carl Hetherington
This should mean that if one fails to load, but the others are OK, we don't re-write everything. I hope this has no bad side-effects that I didn't think of. It's particularly helpful in the case of #2319 where a failure to load cinemas.xml (which was being created by another tool) caused the config to be re-written, breaking all existing DKDMs.
2022-09-04Add failing test.Carl Hetherington
2022-02-13Missing ConfigRestorer in test.Carl Hetherington
2022-02-10Don't give up on backups if config.xml isn't there (#2185).Carl Hetherington
Even if it isn't, we still want to try to back up other stuff. Previously if copying config.xml threw an exception we'd just give up.
2021-12-24Tidy up backing up of config files, improve the tests a little and fix it ↵Carl Hetherington
for the case when the user has specified their own config file path.
2021-11-04Add ConfigRestorer and use it instead of setup_test_config() directly.Carl Hetherington
2021-10-10Fix a test reference to account for windows filename slashes.Carl Hetherington
2021-09-27Fix tests.v2.15.163Carl Hetherington
2021-09-27Add config location versioning (#2090).Carl Hetherington
2021-04-29C++11 tidying.Carl Hetherington
2021-02-28Try again to fix windows tests.Carl Hetherington
2021-02-27Try to fix text-file-checking test on Windows.Carl Hetherington
2021-02-24Fix tests being broken by new config test.v2.15.132Carl Hetherington
2021-02-24Fix config.xml corruption when it contains multi-byte UTF8 characters.Carl Hetherington
2020-10-12Fix tests after changes made in 4f652387cbeeda9b7b8ace71e047c450acf5c871Carl Hetherington
2020-10-08Fix up config backup tests.Carl Hetherington
2020-09-29Make unit tests use their own configuration rather than whateverCarl Hetherington
happens to be in $HOME. This is especially important for signer certificates; without this it looks like the ones from $HOME will be used.
2018-04-29Allow command-line configuration of config location (#1284).Carl Hetherington
2018-02-13Recover test config after config_test.cc runs.Carl Hetherington
2018-01-05Backup more than one config on failure to load.Carl Hetherington