projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ecb84
)
Be a bit more defensive in a test that is failing on Windows.
author
Carl Hetherington
<cth@carlh.net>
Tue, 22 Nov 2022 22:18:04 +0000
(23:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 22 Nov 2022 22:18:04 +0000
(23:18 +0100)
test/subtitle_font_id_change_test.cc
patch
|
blob
|
history
diff --git
a/test/subtitle_font_id_change_test.cc
b/test/subtitle_font_id_change_test.cc
index 878dc650668bd30d152aaea709fcb1b1f873b477..57add5c63e6d825fb8cfaa045f4cc01b1ded5aea 100644
(file)
--- a/
test/subtitle_font_id_change_test.cc
+++ b/
test/subtitle_font_id_change_test.cc
@@
-114,10
+114,12
@@
BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test3)
BOOST_REQUIRE (!wait_for_jobs());
auto font = content[0]->text.front()->get_font("Arial Black");
+ BOOST_REQUIRE(font);
BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");
font = content[0]->text.front()->get_font("Helvetica Neue");
+ BOOST_REQUIRE(font);
BOOST_REQUIRE(font->file());
BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf");