projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
247629f
)
We can always dump notes where there are none expected.
author
Carl Hetherington
<cth@carlh.net>
Wed, 9 Dec 2020 09:54:55 +0000
(10:54 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 17 Jan 2021 19:13:22 +0000
(20:13 +0100)
test/verify_test.cc
patch
|
blob
|
history
diff --git
a/test/verify_test.cc
b/test/verify_test.cc
index 62b5c6c49e406917be26b0d9a9676cf084b4c41e..ac2d825bc8ce55a5b3530335e9279f8865be9c70 100644
(file)
--- a/
test/verify_test.cc
+++ b/
test/verify_test.cc
@@
-130,7
+130,6
@@
private:
};
-#if 0
static
void
dump_notes (list<dcp::VerificationNote> const & notes)
@@
-139,7
+138,6
@@
dump_notes (list<dcp::VerificationNote> const & notes)
std::cout << dcp::note_to_string(i) << "\n";
}
}
-#endif
/* Check DCP as-is (should be OK) */
BOOST_AUTO_TEST_CASE (verify_test1)
@@
-695,6
+693,7
@@
BOOST_AUTO_TEST_CASE (verify_test20)
vector<boost::filesystem::path> dirs;
dirs.push_back (dir);
list<dcp::VerificationNote> notes = dcp::verify (dirs, &stage, &progress, xsd_test);
+ dump_notes (notes);
BOOST_REQUIRE_EQUAL (notes.size(), 0);
}