diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/tests.cc b/test/tests.cc index 2893cc6b..291982dd 100644 --- a/test/tests.cc +++ b/test/tests.cc @@ -65,16 +65,16 @@ BOOST_AUTO_TEST_CASE (dcp_test) filesystem::create_directories ("build/test/foo"); libdcp::DCP d ("build/test/foo", "A Test DCP", libdcp::FEATURE, 24, 24); - shared_ptr<libdcp::PictureAsset> mp (new libdcp::PictureAsset ( - sigc::ptr_fun (&j2c), - "build/test/foo", - "video.mxf", - &d.Progress, - 24, - 24, - 32, - 32 - )); + shared_ptr<libdcp::MonoPictureAsset> mp (new libdcp::MonoPictureAsset ( + sigc::ptr_fun (&j2c), + "build/test/foo", + "video.mxf", + &d.Progress, + 24, + 24, + 32, + 32 + )); shared_ptr<libdcp::SoundAsset> ms (new libdcp::SoundAsset ( sigc::ptr_fun (&wav), @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE (error_test) vector<string> p; p.push_back ("frobozz"); - BOOST_CHECK_THROW (new libdcp::PictureAsset (p, "build/test/bar", "video.mxf", &d.Progress, 24, 24, 32, 32), libdcp::FileError); + BOOST_CHECK_THROW (new libdcp::MonoPictureAsset (p, "build/test/bar", "video.mxf", &d.Progress, 24, 24, 32, 32), libdcp::FileError); BOOST_CHECK_THROW (new libdcp::SoundAsset (p, "build/test/bar", "audio.mxf", &d.Progress, 24, 24), libdcp::FileError); } |
