summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-26 19:15:13 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-26 19:15:13 +0100
commit7103135fcf2e02458a2cfb53ba98d10cd450af8d (patch)
tree4a2c22ebe20e0e483301a0eaccfd0537c4c5103f /test
parent22249987bb6fbbd8c4482a19c6eb85279e73c934 (diff)
Try to support different KDM formulations.
Diffstat (limited to 'test')
-rw-r--r--test/encryption_test.cc3
-rw-r--r--test/round_trip_test.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 35e828b9..201d3c35 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -110,7 +110,8 @@ BOOST_AUTO_TEST_CASE (encryption)
boost::posix_time::time_from_string ("2013-01-01 00:00:00"),
boost::posix_time::time_from_string ("2013-01-08 00:00:00"),
"libdcp",
- "2012-07-17T04:45:18+00:00"
+ "2012-07-17T04:45:18+00:00",
+ libdcp::KDM::MODIFIED_TRANSITIONAL_1
);
kdm.as_xml ("build/test/bar.kdm.xml");
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc
index e5a22f60..19ed482a 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -82,7 +82,8 @@ BOOST_AUTO_TEST_CASE (round_trip_test)
boost::posix_time::time_from_string ("2013-01-01 00:00:00"),
boost::posix_time::time_from_string ("2013-01-08 00:00:00"),
"libdcp",
- "2012-07-17T04:45:18+00:00"
+ "2012-07-17T04:45:18+00:00",
+ libdcp::KDM::MODIFIED_TRANSITIONAL_1
);
boost::filesystem::path const kdm_file = work_dir / "kdm.xml";