diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-25 12:17:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-25 12:17:48 +0100 |
| commit | f976e8ac94dfc6130797c5d98a0399321dce43e7 (patch) | |
| tree | 82d310884c373efc3ef81862e89ffa15cb255392 /test/error_test.cc | |
| parent | c74cdcf36955c77dc43d4e7a1d064d0bfcb631c7 (diff) | |
Untested interop DCP/KDM support.
Diffstat (limited to 'test/error_test.cc')
| -rw-r--r-- | test/error_test.cc | 11 |
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 + ); } |
