X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsrt_subtitle_test.cc;h=a84c27c8233a2a9bf4f1b2392dbed604fba72ac6;hb=adddda49c17e87198253d9c900dcef0f5fb2e175;hp=0c1f0716166eff0c0a1a9265ab1e736bb3195563;hpb=f77ec143719c86ddbf098bff6d19fe2a159b8c3e;p=dcpomatic.git diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc index 0c1f07161..a84c27c82 100644 --- a/test/srt_subtitle_test.cc +++ b/test/srt_subtitle_test.cc @@ -37,6 +37,7 @@ using std::string; using std::list; using boost::shared_ptr; +using namespace dcpomatic; /** Make a very short DCP with a single subtitle from .srt with no specified fonts */ BOOST_AUTO_TEST_CASE (srt_subtitle_test) @@ -104,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()); @@ -114,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 */