summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-05 00:27:31 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-05 00:27:31 +0100
commit42f74b7980945813e1318d6d0b37b2da3a492c05 (patch)
treede3ae846f4a6998bd60291b66b72152ee57d40f1 /test/write_subtitle_test.cc
parentbc118b663b0582cf4afdce3000beb8bac35b16ef (diff)
Add a couple of small bold tests.
Diffstat (limited to 'test/write_subtitle_test.cc')
-rw-r--r--test/write_subtitle_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc
index e407b81f..67bfcd4e 100644
--- a/test/write_subtitle_test.cc
+++ b/test/write_subtitle_test.cc
@@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE (write_subtitle_test)
dcp::SubtitleString (
boost::optional<string> (),
true,
- false,
+ true,
dcp::Colour (128, 0, 64),
91,
1.0,
@@ -92,7 +92,7 @@ BOOST_AUTO_TEST_CASE (write_subtitle_test)
" <Text VAlign=\"top\" VPosition=\"80\">Hello world</Text>\n"
" </Subtitle>\n"
" </Font>\n"
- " <Font Italic=\"yes\" Color=\"FF800040\" Size=\"91\" Effect=\"border\" EffectColor=\"FF010203\" Script=\"normal\" Underlined=\"no\" Weight=\"normal\">\n"
+ " <Font Italic=\"yes\" Color=\"FF800040\" Size=\"91\" Effect=\"border\" EffectColor=\"FF010203\" Script=\"normal\" Underlined=\"no\" Weight=\"bold\">\n"
" <Subtitle SpotNumber=\"2\" TimeIn=\"05:41:00:218\" TimeOut=\"06:12:15:218\" FadeUpTime=\"930792\" FadeDownTime=\"4591834\">\n"
" <Text VAlign=\"bottom\" VPosition=\"40\">What's going on</Text>\n"
" </Subtitle>\n"