X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsubtitle_charset_test.cc;h=9c61b83f4d12973356112505b9b03eee929db67e;hb=1e77753ef4119b6d7df7d2255b1a1d8d6af951de;hp=822a783864315d08f565f5c3edcd1d083fd4fb93;hpb=769624d0f6910905420f3a19bed0d945776a3102;p=dcpomatic.git diff --git a/test/subtitle_charset_test.cc b/test/subtitle_charset_test.cc index 822a78386..9c61b83f4 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/text_subtitle.h" -#include "lib/text_subtitle_content.h" +#include "lib/string_text_file.h" +#include "lib/string_text_file_content.h" #include using boost::shared_ptr; @@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE (subtitle_charset_test2) shared_ptr content = content_factory (film, "test/data/osx.srt").front (); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - shared_ptr ts = dynamic_pointer_cast (content); + shared_ptr ts = dynamic_pointer_cast (content); BOOST_REQUIRE (ts); /* Make sure we got the subtitle data from the file */ BOOST_REQUIRE_EQUAL (content->full_length().get(), 6052032);