diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-06-09 15:21:40 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-10-24 20:27:29 +0200 |
commit | 1805239ffd35a4ee87b6c9ac05891ec60f7d577a (patch) | |
tree | 10f8df41c52c14b65178f31532980b9b2d250059 /sc/qa | |
parent | Resolves: tdf#120689 omit <definedName> for ocMacro in OOXML (diff) | |
download | core-1805239ffd35a4ee87b6c9ac05891ec60f7d577a.tar.gz core-1805239ffd35a4ee87b6c9ac05891ec60f7d577a.zip |
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@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 47cd12eba409ba08c041b5405a3f606102848365)
Reviewed-on: https://gerrit.libreoffice.org/62303
Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 5d112bd73489..326dc0608f29 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -4089,9 +4089,9 @@ void ScFiltersTest::testTdf62268() SCTAB nTab = 0; nHeight = rDoc.GetRowHeight(0, nTab, false); - CPPUNIT_ASSERT_EQUAL(256, nHeight); + CPPUNIT_ASSERT_LESSEQUAL( 3, abs( 256 - nHeight ) ); nHeight = rDoc.GetRowHeight(1, nTab, false); - CPPUNIT_ASSERT_EQUAL(1905, nHeight); + CPPUNIT_ASSERT_LESSEQUAL( 19, abs( 1905 - nHeight ) ); xDocSh->DoClose(); } |