summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-15 23:07:42 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-17 00:15:18 +0100
commit7a877ff976b119a39797c1f6e8477b92dfbb30ca (patch)
treee1fbc87cbc5153a78cc97c9c759b591c7f208e75 /test
parentbae268cb8505bcc5bf4048cfd448168ad9bb0992 (diff)
Pass through <Ruby> tags in subtitles (#2635) (GH#23).
Diffstat (limited to 'test')
-rw-r--r--test/render_subtitles_test.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/render_subtitles_test.cc b/test/render_subtitles_test.cc
index 5672230da..e3034def0 100644
--- a/test/render_subtitles_test.cc
+++ b/test/render_subtitles_test.cc
@@ -64,7 +64,8 @@ add(std::vector<StringText>& s, std::string text, bool italic, bool bold, bool u
dcp::Colour (0, 0, 0),
dcp::Time (),
dcp::Time (),
- 0
+ 0,
+ std::vector<dcp::Ruby>()
),
2,
std::shared_ptr<dcpomatic::Font>(),
@@ -135,7 +136,8 @@ BOOST_AUTO_TEST_CASE(render_text_with_newline_test)
"Hello world",
dcp::Effect::NONE, dcp::Colour(0, 0, 0),
{}, {},
- 0
+ 0,
+ std::vector<dcp::Ruby>()
},
{
{}, true, false, false, dcp::Colour(255, 255, 255), 42, 1.0,
@@ -147,7 +149,8 @@ BOOST_AUTO_TEST_CASE(render_text_with_newline_test)
"\n",
dcp::Effect::NONE, dcp::Colour(0, 0, 0),
{}, {},
- 0
+ 0,
+ std::vector<dcp::Ruby>()
}
};