diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-12 15:29:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-15 10:28:12 +0100 |
| commit | 42ebd462686e403711bed5fa4be23a498795754b (patch) | |
| tree | 483714ed21a4312c7d68659be9fe71fa17bf09bf /test/recover_test.cc | |
| parent | 27513a18c7bb63a9142d40b866a026d1bcc17134 (diff) | |
Inspect all DCPs made during tests with ClairMeta.76-dcp-inspect
Diffstat (limited to 'test/recover_test.cc')
| -rw-r--r-- | test/recover_test.cc | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/test/recover_test.cc b/test/recover_test.cc index 728d98941..63c611831 100644 --- a/test/recover_test.cc +++ b/test/recover_test.cc @@ -83,7 +83,16 @@ BOOST_AUTO_TEST_CASE (recover_test_2d) boost::filesystem::resize_file (video, 2 * 1024 * 1024); - make_and_verify_dcp (film, { dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE }); + make_and_verify_dcp( + film, + { + dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, + dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE + }, + true, + /* We end up with two CPLs in this directory, which Clairmeta gives an error for */ + false + ); auto A = make_shared<dcp::MonoPictureAsset>("build/test/recover_test_2d/original.mxf"); auto B = make_shared<dcp::MonoPictureAsset>(video); @@ -118,7 +127,15 @@ BOOST_AUTO_TEST_CASE (recover_test_3d, * boost::unit_test::depends_on("recover_t boost::filesystem::resize_file (video, 2 * 1024 * 1024); - make_and_verify_dcp (film, { dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE }); + make_and_verify_dcp( + film, + { + dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE + }, + true, + /* We end up with two CPLs in this directory, which Clairmeta gives an error for */ + false + ); auto A = make_shared<dcp::StereoPictureAsset>("build/test/recover_test_3d/original.mxf"); auto B = make_shared<dcp::StereoPictureAsset>(video); @@ -154,7 +171,15 @@ BOOST_AUTO_TEST_CASE (recover_test_2d_encrypted, * boost::unit_test::depends_on( boost::filesystem::resize_file (video, 2 * 1024 * 1024); - make_and_verify_dcp (film, { dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE }); + make_and_verify_dcp( + film, + { + dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE + }, + true, + /* We end up with two CPLs in this directory, which Clairmeta gives an error for */ + false + ); auto A = make_shared<dcp::MonoPictureAsset>("build/test/recover_test_2d_encrypted/original.mxf"); A->set_key (film->key ()); |
