diff options
Diffstat (limited to 'test/dcp_test.cc')
| -rw-r--r-- | test/dcp_test.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/dcp_test.cc b/test/dcp_test.cc index 2e1344c5..b5d37826 100644 --- a/test/dcp_test.cc +++ b/test/dcp_test.cc @@ -327,3 +327,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()); +} |
