summaryrefslogtreecommitdiff
path: root/test/scaling_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:55:57 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-22 10:33:45 +0200
commitc95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c (patch)
tree82857f50135db65c8750e9e4492536d4639e0a91 /test/scaling_test.cc
parente3dba6242aed7415eddbbfb1e5d56ce6680603c1 (diff)
Rename new_test_film2 -> new_test_film.
Diffstat (limited to 'test/scaling_test.cc')
-rw-r--r--test/scaling_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scaling_test.cc b/test/scaling_test.cc
index a1ccfb843..69e81cc69 100644
--- a/test/scaling_test.cc
+++ b/test/scaling_test.cc
@@ -74,7 +74,7 @@ static void scaling_test_for (shared_ptr<Film> film, shared_ptr<Content> content
BOOST_AUTO_TEST_CASE (scaling_test)
{
auto imc = make_shared<ImageContent>("test/data/simple_testcard_640x480.png");
- auto film = new_test_film2("scaling_test", { imc });
+ auto film = new_test_film("scaling_test", { imc });
film->set_dcp_content_type(DCPContentType::from_isdcf_name("FTR"));
imc->video->set_length (1);
@@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE (scaling_test)
BOOST_AUTO_TEST_CASE(assertion_failure_when_scaling)
{
auto content = content_factory("test/data/flat_red.png");
- auto film = new_test_film2("assertion_failure_when_scaling", content);
+ auto film = new_test_film("assertion_failure_when_scaling", content);
content[0]->video->set_custom_size(dcp::Size{3996, 2180});
film->set_resolution(Resolution::FOUR_K);