X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Ftest.h;h=155c78981d4a6ad31294bd1d8751e49537bd94c7;hb=36310b78f8fd84554f2c87dc513bd04efe0fd69a;hp=1d9cd9215f6ac77a5b6dd8204bc2d821ca1088d2;hpb=7701297decde2568e11feddede28177077e164cc;p=libdcp.git diff --git a/test/test.h b/test/test.h index 1d9cd921..155c7898 100644 --- a/test/test.h +++ b/test/test.h @@ -40,12 +40,14 @@ namespace dcp { extern boost::filesystem::path private_test; extern boost::filesystem::path xsd_test; -extern void check_xml (xmlpp::Element* ref, xmlpp::Element* test, std::list ignore_tags, bool ignore_whitespace = false); -extern void check_xml (std::string ref, std::string test, std::list ignore, bool ignore_whitespace = false); +extern void check_xml (xmlpp::Element* ref, xmlpp::Element* test, std::vector ignore_tags, bool ignore_whitespace = false); +extern void check_xml (std::string ref, std::string test, std::vector ignore, bool ignore_whitespace = false); extern void check_file (boost::filesystem::path ref, boost::filesystem::path check); -extern std::shared_ptr simple_picture (boost::filesystem::path path, std::string suffix); -extern std::shared_ptr simple_sound (boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language); -extern std::shared_ptr make_simple (boost::filesystem::path path, int reels = 1); +extern std::shared_ptr simple_picture (boost::filesystem::path path, std::string suffix, int frames = 24); +extern std::shared_ptr simple_sound (boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames = 24, int sample_rate = 48000); +extern std::shared_ptr simple_subtitle (); +extern std::shared_ptr simple_markers (int frames = 24); +extern std::shared_ptr make_simple (boost::filesystem::path path, int reels = 1, int frames = 24); extern std::shared_ptr make_simple_with_interop_subs (boost::filesystem::path path); extern std::shared_ptr make_simple_with_smpte_subs (boost::filesystem::path path); extern std::shared_ptr make_simple_with_interop_ccaps (boost::filesystem::path path);