X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Ffilm_metadata_test.cc;h=90f81deb6497ad168450ff24665ef4677eceeb3a;hb=2588c8f63f9ad3023fd5a5829d571b68af85b4d0;hp=cc29f4472193255f0e5acc2020b5bf7df802975b;hpb=8102046b2f29e0c7b234c29bf204b056cb30e64f;p=dcpomatic.git diff --git a/test/film_metadata_test.cc b/test/film_metadata_test.cc index cc29f4472..90f81deb6 100644 --- a/test/film_metadata_test.cc +++ b/test/film_metadata_test.cc @@ -21,7 +21,6 @@ * @brief Test some basic reading/writing of film metadata. */ -#include #include #include #include @@ -31,7 +30,6 @@ #include "test.h" using std::string; -using std::stringstream; using std::list; using boost::shared_ptr; @@ -40,8 +38,8 @@ BOOST_AUTO_TEST_CASE (film_metadata_test) shared_ptr f = new_test_film ("film_metadata_test"); boost::filesystem::path dir = test_film_dir ("film_metadata_test"); - f->_dci_date = boost::gregorian::from_undelimited_string ("20130211"); - BOOST_CHECK (f->container() == 0); + f->_isdcf_date = boost::gregorian::from_undelimited_string ("20130211"); + BOOST_CHECK (f->container() == Ratio::from_id ("185")); BOOST_CHECK (f->dcp_content_type() == 0); f->set_name ("fred");