summaryrefslogtreecommitdiff
path: root/test/closed_caption_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/closed_caption_test.cc
parente3dba6242aed7415eddbbfb1e5d56ce6680603c1 (diff)
Rename new_test_film2 -> new_test_film.
Diffstat (limited to 'test/closed_caption_test.cc')
-rw-r--r--test/closed_caption_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc
index 313e2a8d3..1a9531f4a 100644
--- a/test/closed_caption_test.cc
+++ b/test/closed_caption_test.cc
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE (closed_caption_test1)
Cleanup cl;
auto content = make_shared<StringTextFileContent>("test/data/subrip.srt");
- auto film = new_test_film2 ("closed_caption_test1", { content }, &cl);
+ auto film = new_test_film("closed_caption_test1", { content }, &cl);
content->only_text()->set_type (TextType::CLOSED_CAPTION);
@@ -74,7 +74,7 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2)
auto content1 = make_shared<StringTextFileContent>("test/data/subrip.srt");
auto content2 = make_shared<StringTextFileContent>("test/data/subrip2.srt");
auto content3 = make_shared<StringTextFileContent>("test/data/subrip3.srt");
- auto film = new_test_film2 ("closed_caption_test2", { content1, content2, content3 }, &cl);
+ auto film = new_test_film("closed_caption_test2", { content1, content2, content3 }, &cl);
content1->only_text()->set_type (TextType::CLOSED_CAPTION);
content1->only_text()->set_dcp_track (DCPTextTrack("First track", dcp::LanguageTag("fr-FR")));