summaryrefslogtreecommitdiff
path: root/test/srt_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-09 16:45:26 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-11 22:24:28 +0100
commit5ff6b15ef3c58a046fb9eec0273c5e7322988a14 (patch)
tree26740a36eea1d61aeb62445671c4c2f3a8017de9 /test/srt_subtitle_test.cc
parentffe35585f08d0a5aeccf3e32f9c4cd2a5a6f43f5 (diff)
Move private_data into TestPaths
Diffstat (limited to 'test/srt_subtitle_test.cc')
-rw-r--r--test/srt_subtitle_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc
index eefdb4122..a84c27c82 100644
--- a/test/srt_subtitle_test.cc
+++ b/test/srt_subtitle_test.cc
@@ -105,7 +105,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test3)
film->set_name ("frobozz");
film->set_interop (true);
film->set_audio_channels (6);
- shared_ptr<StringTextFileContent> content (new StringTextFileContent(private_data / "Ankoemmling_short.srt"));
+ shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data / "Ankoemmling_short.srt"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
@@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test3)
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs());
- check_subtitle_file (film, private_data / "Ankoemmling_short.xml");
+ check_subtitle_file (film, TestPaths::private_data / "Ankoemmling_short.xml");
}
/** Build a small DCP with no picture and a single subtitle overlaid onto it */