summaryrefslogtreecommitdiff
path: root/test/reel_writer_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-21 20:28:59 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-23 20:09:39 +0100
commit41262015eb2bb1fc3da8585883420975de381a65 (patch)
treef16a0bea110f57a820c7c45321775b3b7a9a4122 /test/reel_writer_test.cc
parentd756e14c0bb2c2264248b26d59c363b6bc33a7fc (diff)
Verify a whole bunch of DCPs made by unit tests.
Diffstat (limited to 'test/reel_writer_test.cc')
-rw-r--r--test/reel_writer_test.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/reel_writer_test.cc b/test/reel_writer_test.cc
index 9e567fb2a..6fa571500 100644
--- a/test/reel_writer_test.cc
+++ b/test/reel_writer_test.cc
@@ -110,8 +110,7 @@ BOOST_AUTO_TEST_CASE (reel_reuse_video_test)
auto audio = content_factory("test/data/white.wav").front();
film->examine_and_add_content (audio);
BOOST_REQUIRE (!wait_for_jobs());
- film->make_dcp ();
- BOOST_REQUIRE (!wait_for_jobs());
+ make_and_verify_dcp (film);
/* Find main picture and sound asset IDs */
dcp::DCP dcp1 (film->dir(film->dcp_name()));
@@ -125,8 +124,7 @@ BOOST_AUTO_TEST_CASE (reel_reuse_video_test)
/* Change the audio and re-make */
audio->audio->set_gain (-3);
- film->make_dcp ();
- BOOST_REQUIRE (!wait_for_jobs());
+ make_and_verify_dcp (film);
/* Video ID should be the same, sound different */
dcp::DCP dcp2 (film->dir(film->dcp_name()));
@@ -140,8 +138,7 @@ BOOST_AUTO_TEST_CASE (reel_reuse_video_test)
/* Crop video and re-make */
video->video->set_left_crop (5);
- film->make_dcp ();
- BOOST_REQUIRE (!wait_for_jobs());
+ make_and_verify_dcp (film);
/* Video and sound IDs should be different */
dcp::DCP dcp3 (film->dir(film->dcp_name()));