summaryrefslogtreecommitdiff
path: root/test/dcp_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dcp_test.cc')
-rw-r--r--test/dcp_test.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/dcp_test.cc b/test/dcp_test.cc
index 610b175e..1129b711 100644
--- a/test/dcp_test.cc
+++ b/test/dcp_test.cc
@@ -274,3 +274,11 @@ BOOST_AUTO_TEST_CASE (dcp_test8)
BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 2);
}
+
+
+/** Test reading a DCP whose ASSETMAP contains assets not used by any PKL */
+BOOST_AUTO_TEST_CASE (dcp_things_in_assetmap_not_in_pkl)
+{
+ dcp::DCP dcp ("test/data/extra_assetmap");
+ BOOST_CHECK_NO_THROW (dcp.read());
+}