Rename Subtitle -> Text
[dcpomatic.git] / test / subtitle_reel_number_test.cc
index 3eede3a8845e66fcea7c74d728b1f755fe8f5d18..749ef9e73773d798b2da70b79f76a47b6ea9fdb8 100644 (file)
 
 */
 
-#include "lib/text_subtitle_content.h"
+#include "lib/text_text_content.h"
 #include "lib/film.h"
 #include "lib/ratio.h"
-#include "lib/subtitle_content.h"
+#include "lib/text_content.h"
 #include "lib/dcp_content_type.h"
 #include "test.h"
 #include <dcp/cpl.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<TextSubtitleContent> content (new TextSubtitleContent (film, "test/data/subrip5.srt"));
+       shared_ptr<TextTextContent> content (new TextTextContent (film, "test/data/subrip5.srt"));
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());
        content->subtitle->set_use (true);