X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Ftest.h;h=6687affea6b41c1624db524e555589c58dc95f23;hb=HEAD;hp=01ddb19874e525ced470ae9c029a1af8261d528c;hpb=a4c510f8e3730d918c5ba54b1b4aaf307d748e0f;p=dcpomatic.git diff --git a/test/test.h b/test/test.h index 01ddb1987..6687affea 100644 --- a/test/test.h +++ b/test/test.h @@ -59,7 +59,7 @@ private: extern bool wait_for_jobs (); extern std::shared_ptr new_test_film (std::string); extern std::shared_ptr new_test_film2 (std::string, std::vector> content = {}, Cleanup* cleanup = nullptr); -extern void check_dcp (boost::filesystem::path, boost::filesystem::path); +extern void check_dcp(boost::filesystem::path, boost::filesystem::path, bool sound_can_differ = false); extern void check_dcp (boost::filesystem::path, std::shared_ptr); extern void check_file (boost::filesystem::path ref, boost::filesystem::path check); extern void check_text_file (boost::filesystem::path ref, boost::filesystem::path check); @@ -76,7 +76,7 @@ void check_one_frame (boost::filesystem::path dcp, int64_t index, boost::filesys extern boost::filesystem::path subtitle_file (std::shared_ptr film); extern void make_random_file (boost::filesystem::path path, size_t size); extern void verify_dcp(boost::filesystem::path dir, std::vector ignore); -extern void make_and_verify_dcp (std::shared_ptr film, std::vector ignore = {}); +extern void make_and_verify_dcp(std::shared_ptr film, std::vector ignore = {}, bool dcp_inspect = true, bool clairmeta = true); extern void check_int_close (int a, int b, int d); extern void check_int_close (std::pair, std::pair, int d); extern boost::filesystem::path find_file (boost::filesystem::path dir, std::string filename_part);