From bfb4b5794578dcb3023c6fc90c13f45e376e6a11 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 May 2020 23:19:44 +0200 Subject: [PATCH] Add new version of check_dcp(). --- test/test.cc | 8 ++++++++ test/test.h | 1 + 2 files changed, 9 insertions(+) diff --git a/test/test.cc b/test/test.cc index 8f92024fc..9be0d4711 100644 --- a/test/test.cc +++ b/test/test.cc @@ -297,6 +297,14 @@ note (dcp::NoteType t, string n) } } + +void +check_dcp (boost::filesystem::path ref, shared_ptr film) +{ + check_dcp (ref, film->dir(film->dcp_name())); +} + + void check_dcp (boost::filesystem::path ref, boost::filesystem::path check) { diff --git a/test/test.h b/test/test.h index 8ccebb5fe..d793363d5 100644 --- a/test/test.h +++ b/test/test.h @@ -37,6 +37,7 @@ extern void setup_test_config (); extern boost::shared_ptr new_test_film (std::string); extern boost::shared_ptr new_test_film2 (std::string); extern void check_dcp (boost::filesystem::path, boost::filesystem::path); +extern void check_dcp (boost::filesystem::path, boost::shared_ptr); extern void check_file (boost::filesystem::path ref, boost::filesystem::path check); extern void check_wav_file (boost::filesystem::path ref, boost::filesystem::path check); extern void check_mxf_audio_file (boost::filesystem::path ref, boost::filesystem::path check); -- 2.30.2