summaryrefslogtreecommitdiff
path: root/test/error_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/error_test.cc')
-rw-r--r--test/error_test.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/error_test.cc b/test/error_test.cc
index a2a5716c..380363b4 100644
--- a/test/error_test.cc
+++ b/test/error_test.cc
@@ -28,6 +28,13 @@ BOOST_AUTO_TEST_CASE (error_test)
p.push_back ("frobozz");
/* Trying to create video/audio MXFs using a non-existant file should throw an exception */
- BOOST_CHECK_THROW (new libdcp::MonoPictureAsset (p, "build/test/fred", "video.mxf", &d.Progress, 24, 24, false, libdcp::Size (32, 32)), libdcp::FileError);
- BOOST_CHECK_THROW (new libdcp::SoundAsset (p, "build/test/fred", "audio.mxf", &d.Progress, 24, 24, false), libdcp::FileError);
+ BOOST_CHECK_THROW (
+ new libdcp::MonoPictureAsset (p, "build/test/fred", "video.mxf", &d.Progress, 24, 24, false, libdcp::Size (32, 32), false),
+ libdcp::FileError
+ );
+
+ BOOST_CHECK_THROW (
+ new libdcp::SoundAsset (p, "build/test/fred", "audio.mxf", &d.Progress, 24, 24, false, false),
+ libdcp::FileError
+ );
}