Comments.
[libdcp.git] / test / read_dcp_test.cc
index 06df7058237ec22fdb2467fe528f4f115af08de8..097d0aa9c539b00b1cba57d050c5ab0f8cb52e48 100644 (file)
 using std::list;
 using boost::shared_ptr;
 
-/* Read DCP that is in git and make sure that basic stuff is read in correctly */
+/** Read DCP that is in git and make sure that basic stuff is read in correctly */
 BOOST_AUTO_TEST_CASE (read_dcp)
 {
-       dcp::DCP d ("test/ref/DCP/foo");
+       dcp::DCP d ("test/ref/DCP/dcp_test1");
        d.read ();
 
        list<shared_ptr<dcp::CPL> > cpls = d.cpls ();
        BOOST_CHECK_EQUAL (cpls.size(), 1);
 
-       BOOST_CHECK_EQUAL (cpls.front()->name(), "A Test DCP");
+       BOOST_CHECK_EQUAL (cpls.front()->annotation_text(), "A Test DCP");
        BOOST_CHECK_EQUAL (cpls.front()->content_kind(), dcp::FEATURE);
-       BOOST_CHECK_EQUAL (cpls.front()->frames_per_second(), 24);
-       BOOST_CHECK_EQUAL (cpls.front()->length(), 24);
 }