summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-17 00:23:06 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-17 00:27:02 +0000
commit3abb4fb830aec21664fe84277d9da695935ac5ce (patch)
tree585bb6b39cd7f8f77caa0213081c0d59aad20768 /test/import_dcp_test.cc
parentd18db92081baa8d9521b1673abf1ea5d28ddbc5f (diff)
Fix up test.
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index aa4049111..1f5247392 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -30,6 +30,8 @@
#include "lib/dcp_content_type.h"
#include "lib/dcp_content.h"
#include "lib/ffmpeg_content.h"
+#include "lib/examine_content_job.h"
+#include "lib/job_manager.h"
#include "lib/config.h"
#include "lib/cross.h"
#include <dcp/cpl.h>
@@ -80,6 +82,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_test)
B->examine_and_add_content (d);
BOOST_CHECK (!wait_for_jobs ());
d->add_kdm (kdm);
+ JobManager::instance()->add (shared_ptr<Job> (new ExamineContentJob (B, d)));
BOOST_CHECK (!wait_for_jobs ());
B->make_dcp ();