summaryrefslogtreecommitdiff
path: root/test/scaling_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/scaling_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/scaling_test.cc')
-rw-r--r--test/scaling_test.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/scaling_test.cc b/test/scaling_test.cc
index 2d453600e..a1ccfb843 100644
--- a/test/scaling_test.cc
+++ b/test/scaling_test.cc
@@ -73,15 +73,9 @@ static void scaling_test_for (shared_ptr<Film> film, shared_ptr<Content> content
BOOST_AUTO_TEST_CASE (scaling_test)
{
- auto film = new_test_film ("scaling_test");
- film->set_dcp_content_type (DCPContentType::from_isdcf_name("FTR"));
- film->set_name ("scaling_test");
auto imc = make_shared<ImageContent>("test/data/simple_testcard_640x480.png");
-
- film->examine_and_add_content (imc);
-
- BOOST_REQUIRE (!wait_for_jobs());
-
+ auto film = new_test_film2("scaling_test", { imc });
+ film->set_dcp_content_type(DCPContentType::from_isdcf_name("FTR"));
imc->video->set_length (1);
/* F-133: 133 image in a flat container */