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

Markus Mohrhard markus.mohrhard at googlemail.com
Fri Mar 3 03:11:19 UTC 2017


 sw/qa/extras/ww8export/ww8export.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e8e1452c88ea750088f77006ec558edf96fa0c7e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Mar 3 03:31:33 2017 +0100

    another test that seems to depend on the available fonts
    
    See RandomConfig tb run #260.
    
    Change-Id: Ib2a12ffa9a42745ac4551eaca02d84d6921924f8
    Reviewed-on: https://gerrit.libreoffice.org/34847
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 98ce476..b9a7098 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -1274,6 +1274,7 @@ DECLARE_WW8EXPORT_TEST(testCommentExport, "comment-export.odt")
 }
 
 #if !defined(MACOSX)
+#if !TEST_FONTS_MISSING
 DECLARE_WW8EXPORT_TEST(testTableKeep, "tdf91083.odt")
 {
     //emulate table "keep with next" -do not split table
@@ -1281,6 +1282,7 @@ DECLARE_WW8EXPORT_TEST(testTableKeep, "tdf91083.odt")
     CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), parseDump("/root/page[6]/body/tab[1]/row[2]/cell[1]/txt[1]") );
 }
 #endif
+#endif
 
 DECLARE_WW8EXPORT_TEST(testTdf76349_textboxMargins, "tdf76349_textboxMargins.doc")
 {


More information about the Libreoffice-commits mailing list