[Libreoffice-commits] core.git: sd/qa

Tor Lillqvist tml at collabora.com
Wed Jun 22 12:51:42 UTC 2016


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

New commits:
commit 9c07735a0160864c949ac27de1821d6967181516
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

diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 4ed7d43..6e321f4 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -1314,7 +1314,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