diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2016-07-06 23:35:16 +1000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-07 14:14:26 +0000 |
commit | 90cf31d8fefb46adc582bc2466fae15778f2cfd7 (patch) | |
tree | 24eea4957061959e307760a696695c3c09503a1f /sd/qa | |
parent | 0076e925427bd988708e378e26ebc0def39cf85e (diff) |
tdf#99729: temporary fix unit test for cleartype-disabled config
With cleartype disabled, the non-white count is twice less than with
it. This is a first-aid temporary fix until a better fix is made.
Change-Id: Iadff638656d2d35a03cc452b792b0fb5ed138456
Reviewed-on: https://gerrit.libreoffice.org/26981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 5a4fae395516..fb5c5e67540e 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -1387,7 +1387,7 @@ void SdImportTest::testTdf99729() } // The numbers 1-9 should be above the Text Box in rectangle 154,16 - 170,112. // If text alignment is wrong, the rectangle will be white. - CPPUNIT_ASSERT_MESSAGE("Tdf99729: vertical alignment of text is incorrect!", nonwhitecounts[0]>200); // it was 245 at my testing + CPPUNIT_ASSERT_MESSAGE("Tdf99729: vertical alignment of text is incorrect!", nonwhitecounts[0]>100); // it is 134 with cleartype disabled // The numbers 1-9 should be below the Text Box -> rectangle 154,16 - 170,112 should be white. CPPUNIT_ASSERT_MESSAGE("Tdf99729: legacy vertical alignment of text is incorrect!", nonwhitecounts[1] == 0); } |