summaryrefslogtreecommitdiff
path: root/test/create_cli_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 02:44:11 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 20:15:14 +0100
commit28111007e2e6fd62f5810be780706ae1618bd33f (patch)
treed99fe830ba961b174d3f024d2b5671a9821ed8a9 /test/create_cli_test.cc
parentc7d77490382d6ddb625340c05b57487cde244f96 (diff)
Adapt for libdcp use of enum class.
Diffstat (limited to 'test/create_cli_test.cc')
-rw-r--r--test/create_cli_test.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/create_cli_test.cc b/test/create_cli_test.cc
index 747f0f045..31c8ae877 100644
--- a/test/create_cli_test.cc
+++ b/test/create_cli_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -21,6 +21,7 @@
#include "lib/create_cli.h"
#include "lib/ratio.h"
#include "lib/dcp_content_type.h"
+#include "test.h"
#include <boost/test/unit_test.hpp>
#include <boost/tokenizer.hpp>
#include <boost/algorithm/string/predicate.hpp>
@@ -98,11 +99,11 @@ BOOST_AUTO_TEST_CASE (create_cli_test)
cc = run ("dcpomatic2_create x --standard SMPTE");
BOOST_CHECK (!cc.error);
- BOOST_CHECK_EQUAL (cc.standard, dcp::SMPTE);
+ BOOST_CHECK_EQUAL (cc.standard, dcp::Standard::SMPTE);
cc = run ("dcpomatic2_create x --standard interop");
BOOST_CHECK (!cc.error);
- BOOST_CHECK_EQUAL (cc.standard, dcp::INTEROP);
+ BOOST_CHECK_EQUAL (cc.standard, dcp::Standard::INTEROP);
cc = run ("dcpomatic2_create x --standard SMPTEX");
BOOST_CHECK (cc.error);