diff options
Diffstat (limited to 'test/reels_test.cc')
| -rw-r--r-- | test/reels_test.cc | 10 |
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()); } |
