[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sd/qa

Tor Lillqvist tml at collabora.com
Tue Jan 3 14:01:52 UTC 2017


 sd/qa/unit/import-tests.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fdb960a4fca24ae4ef3e9706218ca00cb7f4fd0
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Jun 22 15:34:16 2016 +0300

    tdf#93124: The arbitrary number 100 seems to be too high, let's try 50
    
    The test fails on a tinderbox. Adding a temporary printf shows that
    the number there is 71.
    
    Change-Id: Ic8fbaab9e3d3434e20ba6aef5cc1acd66b5f4283
    (cherry picked from commit 9c07735a0160864c949ac27de1821d6967181516)
    Reviewed-on: https://gerrit.libreoffice.org/32693
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 0defbc4..49b7d25 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -1327,7 +1327,7 @@ void SdImportTest::testTdf93124()
                     ++nNonWhiteCount;
             }
         }
-        CPPUNIT_ASSERT_MESSAGE("Tdf93124: vertical alignment of text is incorrect!", nNonWhiteCount>100);
+        CPPUNIT_ASSERT_MESSAGE("Tdf93124: vertical alignment of text is incorrect!", nNonWhiteCount>50);
     }
     xDocShRef->DoClose();
 }


More information about the Libreoffice-commits mailing list