X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsrt_subtitle_test.cc;h=5fbe3058deb851f8966e0f81c97fce882fad8358;hb=39f0c853beb0363479f4216bd1d598eccd97495c;hp=eefdb4122ceb4bd6cc62b908ffd911693234c975;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc index eefdb4122..5fbe3058d 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 content (new StringTextFileContent(private_data / "Ankoemmling_short.srt")); + shared_ptr 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 */