projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix limited value ranges in properties.
[dcpomatic.git]
/
test
/
closed_caption_test.cc
diff --git
a/test/closed_caption_test.cc
b/test/closed_caption_test.cc
index b50430d4819e6e3a51b26560183e31f36ff95ac5..283ce6b9370a1c2774f633e01e908da996f9a201 100644
(file)
--- a/
test/closed_caption_test.cc
+++ b/
test/closed_caption_test.cc
@@
-51,8
+51,8
@@
BOOST_AUTO_TEST_CASE (closed_caption_test1)
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
- BOOST_REQUIRE_EQUAL (check.cpls().size(), 1);
- BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1);
+ BOOST_REQUIRE_EQUAL (check.cpls().size(), 1
U
);
+ BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1
U
);
BOOST_REQUIRE (!check.cpls().front()->reels().front()->closed_captions().empty());
}
BOOST_REQUIRE (!check.cpls().front()->reels().front()->closed_captions().empty());
}
@@
-81,10
+81,10
@@
BOOST_AUTO_TEST_CASE (closed_caption_test2)
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
- BOOST_REQUIRE_EQUAL (check.cpls().size(), 1);
- BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1);
+ BOOST_REQUIRE_EQUAL (check.cpls().size(), 1
U
);
+ BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1
U
);
list<shared_ptr<dcp::ReelClosedCaptionAsset> > ccaps = check.cpls().front()->reels().front()->closed_captions();
list<shared_ptr<dcp::ReelClosedCaptionAsset> > ccaps = check.cpls().front()->reels().front()->closed_captions();
- BOOST_REQUIRE_EQUAL (ccaps.size(), 3);
+ BOOST_REQUIRE_EQUAL (ccaps.size(), 3
U
);
list<shared_ptr<dcp::ReelClosedCaptionAsset> >::const_iterator i = ccaps.begin ();
BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");
list<shared_ptr<dcp::ReelClosedCaptionAsset> >::const_iterator i = ccaps.begin ();
BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");