From 42f74b7980945813e1318d6d0b37b2da3a492c05 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 5 Apr 2016 00:27:31 +0100 Subject: Add a couple of small bold tests. --- test/data/subs1.xml | 8 +++++--- test/read_interop_subtitle_test.cc | 2 +- test/write_subtitle_test.cc | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test/data/subs1.xml b/test/data/subs1.xml index 515dd9f7..f4a4ded8 100644 --- a/test/data/subs1.xml +++ b/test/data/subs1.xml @@ -20,8 +20,10 @@ Once belonged to the Shah - - And these are Roy Hattersley's jeans - + + + And these are Roy Hattersley's jeans + + diff --git a/test/read_interop_subtitle_test.cc b/test/read_interop_subtitle_test.cc index 7cbb5803..7822d47e 100644 --- a/test/read_interop_subtitle_test.cc +++ b/test/read_interop_subtitle_test.cc @@ -134,7 +134,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1) BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString ( string ("theFontId"), false, - false, + true, dcp::Colour (255, 255, 255), 39, 1.0, 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 (), true, - false, + true, dcp::Colour (128, 0, 64), 91, 1.0, @@ -92,7 +92,7 @@ BOOST_AUTO_TEST_CASE (write_subtitle_test) " Hello world\n" " \n" " \n" - " \n" + " \n" " \n" " What's going on\n" " \n" -- cgit v1.2.3