diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-01-11 10:57:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-01-11 11:23:42 +0000 |
| commit | 04ae4d393603da286d78a72c4f60c545c03b35e8 (patch) | |
| tree | c7ce2f66a96d76408587bc22c9b88688a2c943e0 /test/dcp_reader_test.cc | |
| parent | 586f9b90034640c82eb51d7e4573f4125a2f4ad0 (diff) | |
Replace DCP parser with basic version that uses libdcp.
Diffstat (limited to 'test/dcp_reader_test.cc')
| -rw-r--r-- | test/dcp_reader_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dcp_reader_test.cc b/test/dcp_reader_test.cc index aee51ac..57d3d66 100644 --- a/test/dcp_reader_test.cc +++ b/test/dcp_reader_test.cc @@ -17,7 +17,7 @@ */ -#include "interop_dcp_reader.h" +#include "dcp_reader.h" #include "collect.h" #include <boost/test/unit_test.hpp> #include <boost/optional/optional_io.hpp> @@ -28,7 +28,7 @@ using boost::shared_ptr; /* Test reading of a DCP XML file */ BOOST_AUTO_TEST_CASE (dcp_reader_test1) { - sub::InteropDCPReader reader ("test/data/test1.xml"); + sub::DCPReader reader ("test/data/test1.xml"); list<sub::Subtitle> subs = sub::collect<list<sub::Subtitle> > (reader.subtitles ()); list<sub::Subtitle>::iterator i = subs.begin (); @@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE (dcp_reader_test1) /* And another one */ BOOST_AUTO_TEST_CASE (dcp_reader_test2) { - sub::InteropDCPReader reader ("test/data/test2.xml"); + sub::DCPReader reader ("test/data/test2.xml"); list<sub::Subtitle> subs = sub::collect<list<sub::Subtitle> > (reader.subtitles ()); list<sub::Subtitle>::iterator i = subs.begin (); |
