X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fclosed_caption_test.cc;h=283ce6b9370a1c2774f633e01e908da996f9a201;hp=b50430d4819e6e3a51b26560183e31f36ff95ac5;hb=b29eb5107c5e77fe01e43010e1582e733f6ceea1;hpb=cd92063f7c67093ac789cb3aa78e534a3a85ef92 diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc index b50430d48..283ce6b93 100644 --- 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 (); - BOOST_REQUIRE_EQUAL (check.cpls().size(), 1); - BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1); + BOOST_REQUIRE_EQUAL (check.cpls().size(), 1U); + BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1U); 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 (); - BOOST_REQUIRE_EQUAL (check.cpls().size(), 1); - BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1); + BOOST_REQUIRE_EQUAL (check.cpls().size(), 1U); + BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1U); list > ccaps = check.cpls().front()->reels().front()->closed_captions(); - BOOST_REQUIRE_EQUAL (ccaps.size(), 3); + BOOST_REQUIRE_EQUAL (ccaps.size(), 3U); list >::const_iterator i = ccaps.begin (); BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");