summaryrefslogtreecommitdiff
path: root/test/subtitle_reel_number_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 14:36:04 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit507a389e9c5f84ec1d51e7566e38fbf42f658537 (patch)
tree5387a0ae0555126fd278b3ab6b496bb3cd8f9fb3 /test/subtitle_reel_number_test.cc
parent491176352b80bea000564e6662738722185be721 (diff)
PlainText -> PlainTextFile.
Diffstat (limited to 'test/subtitle_reel_number_test.cc')
-rw-r--r--test/subtitle_reel_number_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subtitle_reel_number_test.cc b/test/subtitle_reel_number_test.cc
index 317f93ff5..ee9c8ecc7 100644
--- a/test/subtitle_reel_number_test.cc
+++ b/test/subtitle_reel_number_test.cc
@@ -18,7 +18,7 @@
*/
-#include "lib/plain_text_content.h"
+#include "lib/plain_text_file_content.h"
#include "lib/film.h"
#include "lib/ratio.h"
#include "lib/text_content.h"
@@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test)
film->set_container (Ratio::from_id ("185"));
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
film->set_name ("frobozz");
- shared_ptr<PlainTextContent> content (new PlainTextContent (film, "test/data/subrip5.srt"));
+ shared_ptr<PlainTextFileContent> content (new PlainTextFileContent (film, "test/data/subrip5.srt"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
content->subtitle->set_use (true);