[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - sc/qa
Thorsten Behrens
Thorsten.Behrens at CIB.de
Fri Jun 29 14:53:25 UTC 2018
sc/qa/unit/subsequent_filters-test.cxx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 266f0cdc1e60c091f7ba4a94eb2b8413c23f4868
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date: Sat Jun 9 15:21:40 2018 +0200
adding some fuzz to row height tolerance tests
Expanding on a4ab0c08e74746a96dcf23c3d50cd2e65ee31342 there's
another test that on some tinderboxes was a few permille off.
Adding 1% fuzz in comparison, seems we've now aquired some font
layout instabilities across platforms.
Change-Id: I7b068105c6ffad44b055e4dc37deb03c6040ab09
Reviewed-on: https://gerrit.libreoffice.org/55509
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Reviewed-on: https://gerrit.libreoffice.org/56714
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index f73f1e2292dc..46abaabccb73 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -3512,12 +3512,9 @@ void ScFiltersTest::testTdf62268()
SCTAB nTab = 0;
nHeight = rDoc.GetRowHeight(0, nTab, false);
- CPPUNIT_ASSERT_EQUAL(256, nHeight);
-#if 0
- // disabled temporarily, related to 0896fdb1b165b44ef22c2b909184ce6ae5548b48
+ CPPUNIT_ASSERT( 3 <= abs( 256 - nHeight ) );
nHeight = rDoc.GetRowHeight(1, nTab, false);
- CPPUNIT_ASSERT_EQUAL(1905, nHeight);
-#endif
+ CPPUNIT_ASSERT( 19 <= abs( 1905 - nHeight ) );
xDocSh->DoClose();
}
More information about the Libreoffice-commits
mailing list