summaryrefslogtreecommitdiff
path: root/test/torture_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/torture_test.cc
parente3dba6242aed7415eddbbfb1e5d56ce6680603c1 (diff)
Rename new_test_film2 -> new_test_film.
Diffstat (limited to 'test/torture_test.cc')
-rw-r--r--test/torture_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/torture_test.cc b/test/torture_test.cc
index e5ce694ce..e2325955b 100644
--- a/test/torture_test.cc
+++ b/test/torture_test.cc
@@ -57,7 +57,7 @@ using namespace dcpomatic;
/** Test start/end trim and positioning of some audio content */
BOOST_AUTO_TEST_CASE (torture_test1)
{
- auto film = new_test_film2 ("torture_test1");
+ auto film = new_test_film("torture_test1");
film->set_sequence (false);
/* Staircase at an offset of 2000 samples, trimmed both start and end, with a gain of exactly 2 (linear) */
@@ -307,7 +307,7 @@ BOOST_AUTO_TEST_CASE(multi_reel_interop_ccap_test)
auto ccap1 = content_factory("test/data/15s.srt").front();
auto pic2 = content_factory("test/data/flat_red.png").front();
auto ccap2 = content_factory("test/data/15s.srt").front();
- auto film1 = new_test_film2("multi_reel_interop_ccap_test1", { pic1, ccap1, pic2, ccap2 });
+ auto film1 = new_test_film("multi_reel_interop_ccap_test1", { pic1, ccap1, pic2, ccap2 });
film1->set_interop(true);
film1->set_reel_type(ReelType::BY_VIDEO_CONTENT);
ccap1->text[0]->set_type(TextType::CLOSED_CAPTION);
@@ -317,7 +317,7 @@ BOOST_AUTO_TEST_CASE(multi_reel_interop_ccap_test)
make_and_verify_dcp(film1, { dcp::VerificationNote::Code::INVALID_STANDARD, dcp::VerificationNote::Code::INVALID_SUBTITLE_SPACING });
auto reload = make_shared<DCPContent>(film1->dir(film1->dcp_name()));
- auto film2 = new_test_film2("multi_reel_interop_ccap_test2", { reload });
+ auto film2 = new_test_film("multi_reel_interop_ccap_test2", { reload });
for (auto i: reload->text) {
i->set_use(true);
}