projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add header guard.
[dcpomatic.git]
/
test
/
config_test.cc
diff --git
a/test/config_test.cc
b/test/config_test.cc
index 687bea95676dc097268127e3cf884bf00fce101c..e905500852428e9e8a56afb202342101457b3a22 100644
(file)
--- a/
test/config_test.cc
+++ b/
test/config_test.cc
@@
-177,7
+177,7
@@
BOOST_AUTO_TEST_CASE (config_upgrade_test)
boost::filesystem::copy_file ("test/data/2.14.cinemas.xml", dir / "cinemas.xml");
Config::instance();
try {
boost::filesystem::copy_file ("test/data/2.14.cinemas.xml", dir / "cinemas.xml");
Config::instance();
try {
- /* This will fail to write cinemas.xml since the link is to a non-exist
a
nt directory */
+ /* This will fail to write cinemas.xml since the link is to a non-exist
e
nt directory */
Config::instance()->write();
} catch (...) {}
Config::instance()->write();
} catch (...) {}
@@
-215,7
+215,7
@@
BOOST_AUTO_TEST_CASE (config_keep_cinemas_if_making_new_config)
boost::filesystem::remove (dir / "2.16" / "config.xml");
Config::instance();
boost::filesystem::remove (dir / "2.16" / "config.xml");
Config::instance();
- check_text_file
(dir / "backup_for_test.xml", dir / "cinemas.xml.1
");
+ check_text_file
(dir / "backup_for_test.xml", dir / "cinemas.xml
");
}
}