diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-09 22:52:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-09 22:52:06 +0100 |
| commit | ddbd7f8f0004f712a0f63995e2354ddf04281fe0 (patch) | |
| tree | 2c58167e954419c591f10bcf482c2bd851ff88ba /test/dcp_to_stl_binary_test.cc | |
| parent | ef87dbc159aa94778e40fed28fad6709306a5fae (diff) | |
Fix various lost hyphens / dashes in DCP -> STL binary.
Diffstat (limited to 'test/dcp_to_stl_binary_test.cc')
| -rw-r--r-- | test/dcp_to_stl_binary_test.cc | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/test/dcp_to_stl_binary_test.cc b/test/dcp_to_stl_binary_test.cc index 5e18b44..a461810 100644 --- a/test/dcp_to_stl_binary_test.cc +++ b/test/dcp_to_stl_binary_test.cc @@ -152,7 +152,6 @@ BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test5) ); } - BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test6) { if (private_test.empty ()) { @@ -179,3 +178,26 @@ BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test6) "build/test/Paddington_FTR_FullSubs_DE_24fps.stl" ); } + +BOOST_AUTO_TEST_CASE (dcp_to_stl_binary_test7) +{ + boost::filesystem::path p = "test/data/test3.xml"; + sub::write_stl_binary ( + sub::collect<list<sub::Subtitle> > (sub::DCPReader(p).subtitles ()), + 24, + sub::LANGUAGE_GERMAN, + "", "", + "", "", + "", "", + "300514", "300514", 0, + "GBR", + "", + "", "", + "build/test/test3.stl" + ); + + check_file ( + "test/ref/test3.stl", + "build/test/test3.stl" + ); +} |
