BOOST_AUTO_TEST_CASE (check_for_no_empty_text_nodes_in_failure_case)
{
+ Cleanup cl;
+
auto content = content_factory("test/data/empty.srt");
- auto film = new_test_film2 ("check_for_no_empty_text_nodes_in_failure_case", content);
+ auto film = new_test_film2("check_for_no_empty_text_nodes_in_failure_case", content, &cl);
auto text = content[0]->text.front();
text->set_type (TextType::CLOSED_CAPTION);
text->set_dcp_track({"English", dcp::LanguageTag("en-GB")});
make_and_verify_dcp (film, {
dcp::VerificationNote::Code::MISSING_CPL_METADATA
});
+
+ cl.run();
}
BOOST_AUTO_TEST_CASE(multiple_sound_files_bug)
{
+ Cleanup cl;
+
Config::instance()->set_log_types(Config::instance()->log_types() | LogEntry::TYPE_DEBUG_PLAYER);
auto A = content_factory(TestPaths::private_data() / "kook" / "1.wav").front();
auto B = content_factory(TestPaths::private_data() / "kook" / "2.wav").front();
auto C = content_factory(TestPaths::private_data() / "kook" / "3.wav").front();
- auto film = new_test_film2("multiple_sound_files_bug", { A, B, C });
+ auto film = new_test_film2("multiple_sound_files_bug", { A, B, C }, &cl);
C->set_position(film, DCPTime(3840000));
make_and_verify_dcp(film, { dcp::VerificationNote::Code::MISSING_CPL_METADATA });
check_mxf_audio_file(TestPaths::private_data() / "kook" / "reference.mxf", dcp_file(film, "pcm_"));
+
+ cl.run();
}
BOOST_AUTO_TEST_CASE(make_dcp_with_subs_from_smpte_dcp)
{
+ Cleanup cl;
+
auto dcp = make_shared<DCPContent>(TestPaths::private_data() / "JourneyToJah_TLR-1_F_EN-DE-FR_CH_51_2K_LOK_20140225_DGL_SMPTE_OV");
- auto film = new_test_film2("make_dcp_with_subs_from_smpte_dcp", { dcp });
+ auto film = new_test_film2("make_dcp_with_subs_from_smpte_dcp", { dcp }, &cl);
dcp->text.front()->set_use(true);
make_and_verify_dcp(film);
+
+ cl.run();
}