summaryrefslogtreecommitdiff
path: root/test/read_interop_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-05 00:22:32 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-05 00:22:32 +0100
commitbc118b663b0582cf4afdce3000beb8bac35b16ef (patch)
treeac058ad2af7c88705606e7fe139d4d1a4ff80ac2 /test/read_interop_subtitle_test.cc
parentbc7089956cefc9f8528918f8a5d48174ab680f13 (diff)
Basic untested support for bold in subtitles.
Diffstat (limited to 'test/read_interop_subtitle_test.cc')
-rw-r--r--test/read_interop_subtitle_test.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/read_interop_subtitle_test.cc b/test/read_interop_subtitle_test.cc
index a66327f1..7cbb5803 100644
--- a/test/read_interop_subtitle_test.cc
+++ b/test/read_interop_subtitle_test.cc
@@ -49,6 +49,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFontId"),
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
@@ -70,6 +71,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFontId"),
true,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
@@ -88,6 +90,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFontId"),
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
@@ -109,6 +112,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFontId"),
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
@@ -130,6 +134,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test1)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFontId"),
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
@@ -157,6 +162,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -175,6 +181,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -196,6 +203,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -214,6 +222,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -235,6 +244,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -253,6 +263,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -274,6 +285,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -292,6 +304,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -313,6 +326,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -331,6 +345,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -352,6 +367,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -370,6 +386,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -391,6 +408,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -409,6 +427,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -430,6 +449,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -448,6 +468,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -469,6 +490,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.front(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
@@ -487,6 +509,7 @@ BOOST_AUTO_TEST_CASE (read_interop_subtitle_test2)
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFont"),
true,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,