projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98120e2
)
macOS build fix.
author
Carl Hetherington
<cth@carlh.net>
Wed, 17 Mar 2021 22:27:23 +0000
(23:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 18 Mar 2021 22:33:14 +0000
(23:33 +0100)
test/subtitle_reel_test.cc
patch
|
blob
|
history
diff --git
a/test/subtitle_reel_test.cc
b/test/subtitle_reel_test.cc
index d75c8af1a155dfd6b8151fb9fcd8aa3cb23b0e84..bb924cb9a74d5d8b70b9cdecf8ed0d2c5ae8634a 100644
(file)
--- a/
test/subtitle_reel_test.cc
+++ b/
test/subtitle_reel_test.cc
@@
-212,20
+212,20
@@
BOOST_AUTO_TEST_CASE (subtitles_split_at_reel_boundaries)
film->examine_and_add_content (subtitle);
BOOST_REQUIRE (!wait_for_jobs());
film->examine_and_add_content (subtitle);
BOOST_REQUIRE (!wait_for_jobs());
- make_and_verify_dcp (film, {
{ dcp::VerificationNote::Code::INVALID_STANDARD }
});
+ make_and_verify_dcp (film, {
dcp::VerificationNote::Code::INVALID_STANDARD
});
dcp::DCP dcp (film->dir(film->dcp_name()));
dcp.read();
dcp::DCP dcp (film->dir(film->dcp_name()));
dcp.read();
- BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1);
+ BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1
U
);
auto cpl = dcp.cpls()[0];
auto cpl = dcp.cpls()[0];
- BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3);
+ BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3
U
);
for (auto i: cpl->reels()) {
auto reel_sub = i->main_subtitle();
BOOST_REQUIRE (reel_sub);
auto sub = reel_sub->asset();
BOOST_REQUIRE (sub);
for (auto i: cpl->reels()) {
auto reel_sub = i->main_subtitle();
BOOST_REQUIRE (reel_sub);
auto sub = reel_sub->asset();
BOOST_REQUIRE (sub);
- BOOST_CHECK_EQUAL (sub->subtitles().size(), 1);
+ BOOST_CHECK_EQUAL (sub->subtitles().size(), 1
U
);
}
}
}
}