diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-01 23:32:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-01 23:32:22 +0100 |
| commit | 33330f6e2cccb3be51788e919e763139d679cc8b (patch) | |
| tree | 683c781a9fc83830eed0d1b189166dd668aa4086 /test/remake_with_subtitle_test.cc | |
| parent | bfd3eb677d687080f10c2e6b79724b98180317e5 (diff) | |
Fix up remake_with_subtitle_test.
Diffstat (limited to 'test/remake_with_subtitle_test.cc')
| -rw-r--r-- | test/remake_with_subtitle_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/remake_with_subtitle_test.cc b/test/remake_with_subtitle_test.cc index 0190e9837..bc6d41798 100644 --- a/test/remake_with_subtitle_test.cc +++ b/test/remake_with_subtitle_test.cc @@ -28,6 +28,9 @@ using boost::shared_ptr; using boost::dynamic_pointer_cast; +/** Check that if we remake a DCP having turned off subtitles the code notices + * and doesn't re-use the old video data. + */ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test) { shared_ptr<Film> film = new_test_film2 ("remake_with_subtitle_test"); @@ -45,6 +48,5 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test) film->make_dcp (); BOOST_REQUIRE (!wait_for_jobs ()); - /* Nothing is being checked here so this test is not complete */ - DCPOMATIC_ASSERT (false); + check_one_frame (film->dir(film->dcp_name()), 325, private_data / "prophet_frame_325_no_subs.j2c"); } |
