More renaming; text -> plain.
[dcpomatic.git] / test / burnt_subtitle_test.cc
index f0e60284b18d3a8a224af5b072e7e4c1cfe0a66e..e01e1e3d180e9dd96a74231f97116f87155ce44f 100644 (file)
@@ -23,7 +23,7 @@
  *  @ingroup specific
  */
 
-#include "lib/text_text_content.h"
+#include "lib/plain_text_content.h"
 #include "lib/dcp_text_content.h"
 #include "lib/film.h"
 #include "lib/ratio.h"
@@ -59,7 +59,7 @@ BOOST_AUTO_TEST_CASE (burnt_subtitle_test_subrip)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
-       shared_ptr<TextTextContent> content (new TextTextContent (film, "test/data/subrip2.srt"));
+       shared_ptr<PlainText> content (new PlainText (film, "test/data/subrip2.srt"));
        content->subtitle->set_use (true);
        content->subtitle->set_burn (true);
        film->examine_and_add_content (content);
@@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE (burnt_subtitle_test_onto_dcp)
        film2->set_name ("frobozz");
        shared_ptr<DCPContent> background_dcp (new DCPContent(film2, film->dir(film->dcp_name())));
        film2->examine_and_add_content (background_dcp);
-       shared_ptr<TextTextContent> sub = dynamic_pointer_cast<TextTextContent> (
+       shared_ptr<PlainText> sub = dynamic_pointer_cast<PlainText> (
                content_factory(film2, "test/data/subrip2.srt").front()
                );
        sub->subtitle->set_burn (true);