summaryrefslogtreecommitdiff
path: root/test/cpl_ratings_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpl_ratings_test.cc')
-rw-r--r--test/cpl_ratings_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpl_ratings_test.cc b/test/cpl_ratings_test.cc
index b5bfd389..0135e6e0 100644
--- a/test/cpl_ratings_test.cc
+++ b/test/cpl_ratings_test.cc
@@ -42,7 +42,7 @@ using std::shared_ptr;
BOOST_AUTO_TEST_CASE (cpl_ratings)
{
- dcp::CPL cpl ("annotation", dcp::FEATURE);
+ dcp::CPL cpl ("annotation", dcp::ContentKind::FEATURE);
vector<dcp::Rating> ratings;
ratings.push_back (dcp::Rating("http://www.mpaa.org/2003-ratings", "PG-13"));
@@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE (cpl_ratings)
shared_ptr<dcp::Reel> reel(new dcp::Reel());
cpl.add (reel);
- cpl.write_xml ("build/test/cpl_ratings.xml", dcp::SMPTE, std::shared_ptr<dcp::CertificateChain>());
+ cpl.write_xml ("build/test/cpl_ratings.xml", dcp::Standard::SMPTE, {});
vector<string> ignore;
ignore.push_back ("Id");
@@ -96,6 +96,6 @@ BOOST_AUTO_TEST_CASE (cpl_ratings)
);
dcp::CPL cpl2 ("build/test/cpl_ratings.xml");
- vector<dcp::Rating> ratings2 = cpl2.ratings ();
+ auto ratings2 = cpl2.ratings ();
BOOST_TEST(ratings == ratings2);
}