diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-20 16:54:37 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-21 23:52:46 +0200 |
| commit | e3dba6242aed7415eddbbfb1e5d56ce6680603c1 (patch) | |
| tree | 8628ae20b900cd03638648ef34711a56bf7ef3a6 /test/digest_test.cc | |
| parent | 19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff) | |
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/digest_test.cc')
| -rw-r--r-- | test/digest_test.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/digest_test.cc b/test/digest_test.cc index 2d49768f7..2ad6aefd1 100644 --- a/test/digest_test.cc +++ b/test/digest_test.cc @@ -65,17 +65,11 @@ openssl_hash (boost::filesystem::path file) /** Test the digests made by the DCP writing code on a multi-reel DCP */ BOOST_AUTO_TEST_CASE (digest_test) { - auto film = new_test_film ("digest_test"); - film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST")); - film->set_name ("digest_test"); auto r = make_shared<ImageContent>("test/data/flat_red.png"); auto g = make_shared<ImageContent>("test/data/flat_green.png"); auto b = make_shared<ImageContent>("test/data/flat_blue.png"); - film->examine_and_add_content (r); - film->examine_and_add_content (g); - film->examine_and_add_content (b); + auto film = new_test_film2("digest_test", { r, g, b }); film->set_reel_type (ReelType::BY_VIDEO_CONTENT); - BOOST_REQUIRE (!wait_for_jobs()); BOOST_CHECK (Config::instance()->master_encoding_threads() > 1); make_and_verify_dcp (film); |
