diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 14:36:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 507a389e9c5f84ec1d51e7566e38fbf42f658537 (patch) | |
| tree | 5387a0ae0555126fd278b3ab6b496bb3cd8f9fb3 /test/subtitle_charset_test.cc | |
| parent | 491176352b80bea000564e6662738722185be721 (diff) | |
PlainText -> PlainTextFile.
Diffstat (limited to 'test/subtitle_charset_test.cc')
| -rw-r--r-- | test/subtitle_charset_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/subtitle_charset_test.cc b/test/subtitle_charset_test.cc index 2b1b97b25..892ea76f5 100644 --- a/test/subtitle_charset_test.cc +++ b/test/subtitle_charset_test.cc @@ -22,8 +22,8 @@ #include "lib/content.h" #include "lib/film.h" #include "lib/content_factory.h" -#include "lib/plain_text.h" -#include "lib/plain_text_content.h" +#include "lib/plain_text_file.h" +#include "lib/plain_text_file_content.h" #include <boost/test/unit_test.hpp> using boost::shared_ptr; @@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE (subtitle_charset_test2) shared_ptr<Content> content = content_factory (film, "test/data/osx.srt").front (); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - shared_ptr<PlainText> ts = dynamic_pointer_cast<PlainText> (content); + shared_ptr<PlainTextFile> ts = dynamic_pointer_cast<PlainTextFile> (content); BOOST_REQUIRE (ts); /* Make sure we got the subtitle data from the file */ BOOST_REQUIRE_EQUAL (content->full_length().get(), 6052032); |
