diff options
Diffstat (limited to 'test/subrip_test.cc')
| -rw-r--r-- | test/subrip_test.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/subrip_test.cc b/test/subrip_test.cc index adb548f0c..9479e657e 100644 --- a/test/subrip_test.cc +++ b/test/subrip_test.cc @@ -201,3 +201,12 @@ BOOST_AUTO_TEST_CASE (subrip_render_test) write_image (image.image, "build/test/subrip_render_test.png"); check_file ("build/test/subrip_render_test.png", "test/data/subrip_render_test.png"); } + +/** Test of reading a typical .srt */ +BOOST_AUTO_TEST_CASE (subrip_read_test) +{ + shared_ptr<Film> film = new_test_film ("subrip_read_test"); + boost::filesystem::path p = private_data / "sintel_en.srt"; + shared_ptr<SubRipContent> s (new SubRipContent (film, p)); + s->examine (shared_ptr<Job> ()); +} |
