summaryrefslogtreecommitdiff
path: root/test/film_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-15 03:36:59 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-15 18:03:57 +0200
commit21415bdb69a99c4fc36cf4b5e5160a171bb1cad4 (patch)
tree46265de6587585d292ac4c97267327af0c359c1c /test/film_test.cc
parent6207d271effad4e691a5155ccdad083e03b010bc (diff)
Change Film::examine_and_add_content to take a vector of content.
Diffstat (limited to 'test/film_test.cc')
-rw-r--r--test/film_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/film_test.cc b/test/film_test.cc
index 820c15624..5ce195637 100644
--- a/test/film_test.cc
+++ b/test/film_test.cc
@@ -55,12 +55,12 @@ BOOST_AUTO_TEST_CASE(film_possible_reel_types_test1)
auto film = new_test_film("film_possible_reel_types_test1");
BOOST_CHECK_EQUAL(film->possible_reel_types().size(), 4U);
- film->examine_and_add_content(content_factory("test/data/flat_red.png")[0]);
+ film->examine_and_add_content(content_factory("test/data/flat_red.png"));
BOOST_REQUIRE(!wait_for_jobs());
BOOST_CHECK_EQUAL(film->possible_reel_types().size(), 4U);
auto dcp = make_shared<DCPContent>("test/data/reels_test2");
- film->examine_and_add_content(dcp);
+ film->examine_and_add_content({dcp});
BOOST_REQUIRE(!wait_for_jobs());
BOOST_CHECK_EQUAL(film->possible_reel_types().size(), 4U);
@@ -78,7 +78,7 @@ BOOST_AUTO_TEST_CASE(film_possible_reel_types_test2)
auto film = new_test_film("film_possible_reel_types_test2");
auto dcp = make_shared<DCPContent>("test/data/dcp_digest_test_dcp");
- film->examine_and_add_content(dcp);
+ film->examine_and_add_content({dcp});
BOOST_REQUIRE(!wait_for_jobs());
BOOST_CHECK_EQUAL(film->possible_reel_types().size(), 4U);