diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-26 01:24:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-26 01:24:48 +0100 |
| commit | ea63ad9560757e56505551db3bf2e1c31be5c76c (patch) | |
| tree | ec0f539b89d9c8ac627e65886241cc086246ab09 /test/closed_caption_test.cc | |
| parent | cbb8260e395058da76b3de518ebc535a114c54b1 (diff) | |
More verification of DCPs during tests.
Diffstat (limited to 'test/closed_caption_test.cc')
| -rw-r--r-- | test/closed_caption_test.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc index b5b13e040..2b80c812e 100644 --- a/test/closed_caption_test.cc +++ b/test/closed_caption_test.cc @@ -42,8 +42,14 @@ BOOST_AUTO_TEST_CASE (closed_caption_test1) content->only_text()->set_type (TextType::CLOSED_CAPTION); - film->make_dcp (); - BOOST_REQUIRE (!wait_for_jobs ()); + make_and_verify_dcp ( + film, + { + dcp::VerificationNote::Code::MISSING_SUBTITLE_LANGUAGE, + dcp::VerificationNote::Code::INVALID_SUBTITLE_FIRST_TEXT_TIME, + dcp::VerificationNote::Code::INVALID_CLOSED_CAPTION_LINE_LENGTH, + dcp::VerificationNote::Code::MISSING_CPL_METADATA + }); /* Just check to see that there's a CCAP in the CPL: this check could be better! |
