summaryrefslogtreecommitdiff
path: root/test/4k_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-29 09:14:20 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-29 20:53:49 +0200
commit39fb8198febde1937019db1c300ec363aab5aa56 (patch)
tree52bc32134e8ae2b5587b3a62130baa9acf815b60 /test/4k_test.cc
parentb249700e1da7dd6631a8b4440587f4093a2bdef1 (diff)
C++11 tidying.
Diffstat (limited to 'test/4k_test.cc')
-rw-r--r--test/4k_test.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/4k_test.cc b/test/4k_test.cc
index f3ce0bfcc..4db576cfc 100644
--- a/test/4k_test.cc
+++ b/test/4k_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,6 +18,7 @@
*/
+
/** @defgroup completedcp Complete builds of DCPs */
/** @file test/4k_test.cc
@@ -27,6 +28,7 @@
* The output is checked against test/data/4k_test.
*/
+
#include <boost/test/unit_test.hpp>
#include "lib/film.h"
#include "lib/ffmpeg_content.h"
@@ -36,9 +38,11 @@
#include "lib/dcpomatic_log.h"
#include "test.h"
+
using std::shared_ptr;
using std::make_shared;
+
BOOST_AUTO_TEST_CASE (fourk_test)
{
auto film = new_test_film ("4k_test");
@@ -58,8 +62,8 @@ BOOST_AUTO_TEST_CASE (fourk_test)
dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE
});
- boost::filesystem::path p (test_film_dir ("4k_test"));
+ boost::filesystem::path p (test_film_dir("4k_test"));
p /= film->dcp_name ();
- check_dcp ("test/data/4k_test", p.string ());
+ check_dcp ("test/data/4k_test", p.string());
}