summaryrefslogtreecommitdiff
path: root/test/interop_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-25 23:31:13 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-25 23:31:13 +0200
commitef9671811920cbef50f0f01d063eab418de8925e (patch)
tree0161463370f4a995f5e1b275b642de534b68f6d4 /test/interop_subtitle_test.cc
parent98227f0ca88034061092cd2a179c5cade2924f50 (diff)
Tidy up write_xml() API a little.
Diffstat (limited to 'test/interop_subtitle_test.cc')
-rw-r--r--test/interop_subtitle_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/interop_subtitle_test.cc b/test/interop_subtitle_test.cc
index 7a7e26b6..2d7c606a 100644
--- a/test/interop_subtitle_test.cc
+++ b/test/interop_subtitle_test.cc
@@ -917,7 +917,11 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
dcp::DCP dcp ("build/test/write_interop_subtitle_test3");
dcp.add (cpl);
- dcp.write_xml (issuer, creator, issue_date, annotation_text);
+ dcp.set_issuer(issuer);
+ dcp.set_creator(creator);
+ dcp.set_issue_date(issue_date);
+ dcp.set_annotation_text(annotation_text);
+ dcp.write_xml();
check_xml (
dcp::file_to_string("test/ref/write_interop_subtitle_test3/subs.xml"),