diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-22 12:32:52 +0100 |
| commit | c70373ba74504ae39453c2a41ce1ab047fd441b4 (patch) | |
| tree | 020b40133c93a797341b7a19c46c787f449cebe1 /test | |
| parent | dbdef419973ea00817022a4352126925025857dd (diff) | |
Rough support for 3D.
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); } |
