summaryrefslogtreecommitdiff
path: root/test/4k_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:54:37 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-21 23:52:46 +0200
commite3dba6242aed7415eddbbfb1e5d56ce6680603c1 (patch)
tree8628ae20b900cd03638648ef34711a56bf7ef3a6 /test/4k_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/4k_test.cc')
-rw-r--r--test/4k_test.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/4k_test.cc b/test/4k_test.cc
index 9e80a6e27..1186d7527 100644
--- a/test/4k_test.cc
+++ b/test/4k_test.cc
@@ -44,15 +44,11 @@ using std::make_shared;
BOOST_AUTO_TEST_CASE (fourk_test)
{
- auto film = new_test_film ("4k_test");
- LogSwitcher ls (film->log());
- film->set_name ("4k_test");
auto c = make_shared<FFmpegContent>("test/data/test.mp4");
+ auto film = new_test_film2("4k_test", { c });
+ LogSwitcher ls (film->log());
film->set_resolution (Resolution::FOUR_K);
- film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
- film->set_container (Ratio::from_id ("185"));
- film->examine_and_add_content (c);
- BOOST_REQUIRE (!wait_for_jobs());
+ film->set_dcp_content_type(DCPContentType::from_isdcf_name("FTR"));
make_and_verify_dcp (
film,