[Libreoffice-commits] core.git: sw/qa
Riccardo Magliocchetti
riccardo.magliocchetti at gmail.com
Mon Nov 10 04:04:11 PST 2014
sw/qa/extras/odfimport/odfimport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 72e901c1d03ddf523472d33b77d60d5be531a2a6
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date: Fri Nov 7 15:12:42 2014 +0100
sw: disable failing c&p test on headless build
Change-Id: If9c3aad600332ae289e05e3b046f8b15292dee57
Reviewed-on: https://gerrit.libreoffice.org/12301
Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index fb4cf65..2b24dc5 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -450,7 +450,7 @@ DECLARE_ODFIMPORT_TEST(testFdo37606Copy, "fdo37606.odt")
// Previously copy&paste failed to copy the table in case it was the document-starting one.
uno::Reference<text::XTextTablesSupplier> xTablesSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xTables(xTablesSupplier->getTextTables(), uno::UNO_QUERY);
-#ifndef MACOSX // FIXME
+#if !defined(MACOSX) && !defined(ENABLE_HEADLESS) // FIXME
CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTables->getCount());
#endif
}
More information about the Libreoffice-commits
mailing list