summaryrefslogtreecommitdiff
path: root/test/ssa_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/ssa_subtitle_test.cc
parentffe35585f08d0a5aeccf3e32f9c4cd2a5a6f43f5 (diff)
Move private_data into TestPaths
Diffstat (limited to 'test/ssa_subtitle_test.cc')
-rw-r--r--test/ssa_subtitle_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ssa_subtitle_test.cc b/test/ssa_subtitle_test.cc
index c61d34b71..a7b27e2f3 100644
--- a/test/ssa_subtitle_test.cc
+++ b/test/ssa_subtitle_test.cc
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE (ssa_subtitle_test1)
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
film->set_name ("frobozz");
film->set_interop (true);
- shared_ptr<StringTextFileContent> content (new StringTextFileContent(private_data / "DKH_UT_EN20160601def.ssa"));
+ shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data / "DKH_UT_EN20160601def.ssa"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
@@ -60,5 +60,5 @@ BOOST_AUTO_TEST_CASE (ssa_subtitle_test1)
/* Find the subtitle file and check it */
list<string> ignore;
ignore.push_back ("SubtitleID");
- check_xml (subtitle_file(film), private_data / "DKH_UT_EN20160601def.xml", ignore);
+ check_xml (subtitle_file(film), TestPaths::private_data / "DKH_UT_EN20160601def.xml", ignore);
}