From 28111007e2e6fd62f5810be780706ae1618bd33f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 21 Jan 2021 02:44:11 +0100 Subject: Adapt for libdcp use of enum class. --- test/create_cli_test.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/create_cli_test.cc') 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 + Copyright (C) 2019-2021 Carl Hetherington 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 #include #include @@ -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); -- cgit v1.2.3