summaryrefslogtreecommitdiff
path: root/test/exception_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-06 10:47:04 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-06 12:32:36 +0100
commitfed2ae4e0ee8eea20ed0f202f2e9152b8141d596 (patch)
tree4a4055b40bfb64ebf5b7509ef81a104db4a52e46 /test/exception_test.cc
parentec414e05d8ace2e9ade35275ebd47f581879771f (diff)
Use VerificationNote for non-fatal errors in DCP::read.
Diffstat (limited to 'test/exception_test.cc')
-rw-r--r--test/exception_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/exception_test.cc b/test/exception_test.cc
index 2ae6cdca..43b1d021 100644
--- a/test/exception_test.cc
+++ b/test/exception_test.cc
@@ -43,7 +43,4 @@ BOOST_AUTO_TEST_CASE (exception_test)
BOOST_CHECK_EQUAL (string (dcp::UnresolvedRefError ("foo").what()), "Unresolved reference to asset id foo");
BOOST_CHECK_EQUAL (string (dcp::NotEncryptedError ("foo").what()), "foo is not encrypted");
BOOST_CHECK_EQUAL (string (dcp::ProgrammingError ("foo", 42).what()), "Programming error at foo:42");
- BOOST_CHECK_EQUAL (string (dcp::MissingAssetError ("foo", dcp::MissingAssetError::MAIN_PICTURE).what()), "Missing asset foo for main picture");
- BOOST_CHECK_EQUAL (string (dcp::MissingAssetError ("foo", dcp::MissingAssetError::MAIN_SOUND).what()), "Missing asset foo for main sound");
- BOOST_CHECK_EQUAL (string (dcp::MissingAssetError ("foo", dcp::MissingAssetError::MAIN_SUBTITLE).what()), "Missing asset foo for main subtitle");
}