diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-18 23:40:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:36:56 +0100 |
| commit | c1f98c84cdf3829b31929453b8a89fdcbdcd0c42 (patch) | |
| tree | 12ee5a9950fd333c7f298b5b6b82f2821788141f /test/burnt_subtitle_test.cc | |
| parent | 65cc06076b46cbd27ccfcf7387894358e2c8ab1e (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/burnt_subtitle_test.cc')
| -rw-r--r-- | test/burnt_subtitle_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/burnt_subtitle_test.cc b/test/burnt_subtitle_test.cc index f0e60284b..e01e1e3d1 100644 --- a/test/burnt_subtitle_test.cc +++ b/test/burnt_subtitle_test.cc @@ -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); |
