BOOST_REQUIRE_EQUAL(content[0]->text.size(), 1U);
content[0]->set_paths({"test/data/short.srt"});
+ content[0]->only_text()->set_language(dcp::LanguageTag("de"));
CheckContentJob check(film);
check.run();
BOOST_REQUIRE_EQUAL(content[0]->text.size(), 1U);
content[0]->set_paths({"test/data/fonts.ass"});
+ content[0]->only_text()->set_language(dcp::LanguageTag("de"));
CheckContentJob check(film);
check.run();
BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test4)
{
- auto film = new_test_film2("subtitle_font_id_change_test4");
+ Cleanup cl;
+
+ auto film = new_test_film2("subtitle_font_id_change_test4", {}, &cl);
boost::filesystem::remove(film->file("metadata.xml"));
boost::filesystem::copy_file("test/data/subtitle_font_id_change_test4.xml", film->file("metadata.xml"));
BOOST_REQUIRE(!wait_for_jobs());
make_and_verify_dcp(film, { dcp::VerificationNote::Code::INVALID_STANDARD });
+
+ cl.run();
}