summaryrefslogtreecommitdiff
path: root/test/subtitle_charset_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-18 23:40:25 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:36:56 +0100
commitc1f98c84cdf3829b31929453b8a89fdcbdcd0c42 (patch)
tree12ee5a9950fd333c7f298b5b6b82f2821788141f /test/subtitle_charset_test.cc
parent65cc06076b46cbd27ccfcf7387894358e2c8ab1e (diff)
More renaming; text -> plain.
sed -i "s/TextTextContent/PlainText/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/text_text/plain_text/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript mv src/lib/text_text_content.cc src/lib/plain_text_content.cc mv src/lib/text_text_content.h src/lib/plain_text_content.h mv src/lib/text_text_decoder.cc src/lib/plain_text_decoder.cc mv src/lib/text_text_decoder.h src/lib/plain_text_decoder.h
Diffstat (limited to 'test/subtitle_charset_test.cc')
-rw-r--r--test/subtitle_charset_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subtitle_charset_test.cc b/test/subtitle_charset_test.cc
index 828411c9b..9b2de2132 100644
--- a/test/subtitle_charset_test.cc
+++ b/test/subtitle_charset_test.cc
@@ -23,7 +23,7 @@
#include "lib/film.h"
#include "lib/content_factory.h"
#include "lib/text_subtitle.h"
-#include "lib/text_text_content.h"
+#include "lib/plain_text_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<TextTextContent> ts = dynamic_pointer_cast<TextTextContent> (content);
+ shared_ptr<PlainText> ts = dynamic_pointer_cast<PlainText> (content);
BOOST_REQUIRE (ts);
/* Make sure we got the subtitle data from the file */
BOOST_REQUIRE_EQUAL (content->full_length().get(), 6052032);