summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-21 14:43:28 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-21 23:02:49 +0100
commit93cf75127355610facd5df8f8f84e1f38d47f4bb (patch)
tree9452493d9287c50ce5ccbed5097dde3f074d15d1 /test/import_dcp_test.cc
parent3ea24566e4591c0160379a6bee97c5e62b60a028 (diff)
Test update for auto-addition of markers.
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 671fc8cf7..cb485e68a 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -125,7 +125,10 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test)
BOOST_REQUIRE (!wait_for_jobs());
film2->write_metadata ();
- BOOST_CHECK_EQUAL (imported->markers().size(), 3U);
+ /* When import_dcp_markers_test was made a LFOC marker will automatically
+ * have been added.
+ */
+ BOOST_CHECK_EQUAL (imported->markers().size(), 4U);
map<dcp::Marker, dcpomatic::ContentTime> markers = imported->markers();
BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end());
@@ -142,7 +145,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test)
shared_ptr<DCPContent> reloaded = dynamic_pointer_cast<DCPContent>(film3->content().front());
BOOST_REQUIRE (reloaded);
- BOOST_CHECK_EQUAL (reloaded->markers().size(), 3U);
+ BOOST_CHECK_EQUAL (reloaded->markers().size(), 4U);
markers = reloaded->markers();
BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end());