summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-20 00:25:27 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-20 21:37:37 +0100
commit7b439c9baf719b135922e6c6b53472915fed3573 (patch)
tree96493aefa814e5d2bcd73d1bab057d8e6f62d643 /test
parent9b5cff118fe03649c0c404b35f2900ff36008637 (diff)
Verify encrypted DCPs (more) correctly (#2659).
Diffstat (limited to 'test')
-rw-r--r--test/reels_test.cc8
-rw-r--r--test/test.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/reels_test.cc b/test/reels_test.cc
index 3d4dd0e6e..2a87ef6b6 100644
--- a/test/reels_test.cc
+++ b/test/reels_test.cc
@@ -503,7 +503,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short1)
make_and_verify_dcp (film);
vector<boost::filesystem::path> dirs = { film->dir(film->dcp_name(false)) };
- auto notes = dcp::verify(dirs, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
+ auto notes = dcp::verify(dirs, {}, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
dump_notes (notes);
BOOST_REQUIRE (notes.empty());
}
@@ -528,7 +528,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short2)
make_and_verify_dcp (film);
vector<boost::filesystem::path> dirs = { film->dir(film->dcp_name(false)) };
- auto const notes = dcp::verify(dirs, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
+ auto const notes = dcp::verify(dirs, {}, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
dump_notes (notes);
BOOST_REQUIRE (notes.empty());
}
@@ -549,7 +549,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short3)
make_and_verify_dcp (film);
- auto const notes = dcp::verify({}, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
+ auto const notes = dcp::verify({}, {}, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
dump_notes (notes);
BOOST_REQUIRE (notes.empty());
}
@@ -579,7 +579,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short4)
BOOST_REQUIRE (!wait_for_jobs());
vector<boost::filesystem::path> dirs = { film->dir(film->dcp_name(false)) };
- auto const notes = dcp::verify(dirs, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
+ auto const notes = dcp::verify(dirs, {}, boost::bind(&no_op), boost::bind(&no_op), {}, TestPaths::xsd());
dump_notes (notes);
BOOST_REQUIRE (notes.empty());
}
diff --git a/test/test.cc b/test/test.cc
index 2bd31292a..8ca103a6b 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -948,7 +948,7 @@ void progress (float) {}
void
verify_dcp(boost::filesystem::path dir, vector<dcp::VerificationNote::Code> ignore)
{
- auto notes = dcp::verify({dir}, &stage, &progress, {}, TestPaths::xsd());
+ auto notes = dcp::verify({dir}, {}, &stage, &progress, {}, TestPaths::xsd());
bool ok = true;
for (auto i: notes) {
if (find(ignore.begin(), ignore.end(), i.code()) == ignore.end()) {