summaryrefslogtreecommitdiff
path: root/test/empty_caption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-30 01:59:18 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-30 01:59:18 +0200
commitd21efc88c0c5549160a55cd25d6bc2098752cf75 (patch)
treecf314b735e5a782f94c4183fbe974151864a8437 /test/empty_caption_test.cc
parent53b3783a9d493dae07c51d6b99cd238bfcfca5b5 (diff)
Clean up after some more tests.
Diffstat (limited to 'test/empty_caption_test.cc')
-rw-r--r--test/empty_caption_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/empty_caption_test.cc b/test/empty_caption_test.cc
index f0449a3ce..3673cce5d 100644
--- a/test/empty_caption_test.cc
+++ b/test/empty_caption_test.cc
@@ -29,8 +29,10 @@
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")});
@@ -38,5 +40,7 @@ BOOST_AUTO_TEST_CASE (check_for_no_empty_text_nodes_in_failure_case)
make_and_verify_dcp (film, {
dcp::VerificationNote::Code::MISSING_CPL_METADATA
});
+
+ cl.run();
}