summaryrefslogtreecommitdiff
path: root/test/reels_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
commitcb6729aa79b555b219974207fbe2ff0510f9d3ea (patch)
tree973024e5dbf8bd8d873850909665e6229138ef57 /test/reels_test.cc
parentd24251b2e0d82236f93ee5415b72849dee2a0ac8 (diff)
Bump libdcp for better verification, and make API adjustments.
Diffstat (limited to 'test/reels_test.cc')
-rw-r--r--test/reels_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/reels_test.cc b/test/reels_test.cc
index c7b33d394..cf8dc3e2e 100644
--- a/test/reels_test.cc
+++ b/test/reels_test.cc
@@ -493,7 +493,7 @@ no_op ()
}
static void
-dump_notes (list<dcp::VerificationNote> const & notes)
+dump_notes (vector<dcp::VerificationNote> const & notes)
{
for (auto i: notes) {
std::cout << dcp::note_to_string(i) << "\n";
@@ -525,7 +525,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short1)
vector<boost::filesystem::path> dirs;
dirs.push_back (film->dir(film->dcp_name(false)));
- list<dcp::VerificationNote> const 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());
}
@@ -555,7 +555,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short2)
vector<boost::filesystem::path> dirs;
dirs.push_back (film->dir(film->dcp_name(false)));
- list<dcp::VerificationNote> 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());
}
@@ -579,7 +579,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short3)
BOOST_REQUIRE (!wait_for_jobs());
vector<boost::filesystem::path> dirs;
- list<dcp::VerificationNote> 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());
}
@@ -609,7 +609,7 @@ BOOST_AUTO_TEST_CASE (reels_should_not_be_short4)
vector<boost::filesystem::path> dirs;
dirs.push_back (film->dir(film->dcp_name(false)));
- list<dcp::VerificationNote> 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());
}