[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 24 18:27:52 UTC 2018


 sc/qa/unit/subsequent_filters-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1805239ffd35a4ee87b6c9ac05891ec60f7d577a
Author:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Sat Jun 9 15:21:40 2018 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Wed Oct 24 20:27:29 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>
    (cherry picked from commit 47cd12eba409ba08c041b5405a3f606102848365)
    Reviewed-on: https://gerrit.libreoffice.org/62303
    Reviewed-by: Vasily Melenchuk <vasily.melenchuk at cib.de>
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <erack at redhat.com>

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();
 }


More information about the Libreoffice-commits mailing list