diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-04 23:46:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-16 01:20:51 +0100 |
| commit | 2a466391f79f3cab480f83ac0228049f050a54c6 (patch) | |
| tree | 25238a1e6486e700fe43f9e13c36603f503be89d /test/config_test.cc | |
| parent | c17216aed76639af61f16c89ad13dcecbc6752a7 (diff) | |
Test fixes for 2.20.v2.19.x
Diffstat (limited to 'test/config_test.cc')
| -rw-r--r-- | test/config_test.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/config_test.cc b/test/config_test.cc index ae3d0ca47..a3b3854f6 100644 --- a/test/config_test.cc +++ b/test/config_test.cc @@ -162,7 +162,7 @@ BOOST_AUTO_TEST_CASE (config_write_utf8_test) } -/* 2.14 -> 2.18 */ +/* 2.14 -> 2.20 */ BOOST_AUTO_TEST_CASE (config_upgrade_test1) { boost::filesystem::path dir = "build/test/config_upgrade_test1"; @@ -194,18 +194,18 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test1) #if defined(DCPOMATIC_WINDOWS) /* This file has the windows path for dkdm_recipients.xml (with backslashes) */ - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.windows.sqlite.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.windows.sqlite.xml", {}); #elif defined(DCPOMATIC_GROK) - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.sqlite.grok.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.sqlite.grok.xml", {}); #else - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.sqlite.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.sqlite.xml", {}); #endif - /* cinemas.xml is not copied into 2.18 as its format has not changed */ - BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.18" / "cinemas.xml")); + /* cinemas.xml is not copied into 2.20 as its format has not changed */ + BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.20" / "cinemas.xml")); } -/* 2.16 -> 2.18 */ +/* 2.16 -> 2.20 */ BOOST_AUTO_TEST_CASE (config_upgrade_test2) { boost::filesystem::path dir = "build/test/config_upgrade_test2"; @@ -229,17 +229,17 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test2) check_xml(dir / "cinemas.xml", "test/data/2.14.cinemas.xml", {}); #if defined(DCPOMATIC_WINDOWS) /* This file has the windows path for dkdm_recipients.xml (with backslashes) */ - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.windows.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.windows.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.windows.xml", {}); #elif defined(DCPOMATIC_GROK) - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.grok.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.grok.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.xml", {}); #else - check_xml(dir / "2.18" / "config.xml", "test/data/2.18.config.xml", {}); + check_xml(dir / "2.20" / "config.xml", "test/data/2.20.config.xml", {}); check_xml(dir / "config.xml", "test/data/2.16.config.xml", {}); #endif - /* cinemas.xml is not copied into 2.18 as its format has not changed */ - BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.18" / "cinemas.xml")); + /* cinemas.xml is not copied into 2.20 as its format has not changed */ + BOOST_REQUIRE (!boost::filesystem::exists(dir / "2.20" / "cinemas.xml")); } |
