summaryrefslogtreecommitdiff
path: root/sw/qa/extras/odfimport/odfimport.cxx
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-07 15:12:42 +0100
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-10 12:03:42 +0000
commit72e901c1d03ddf523472d33b77d60d5be531a2a6 (patch)
treea47390a47631c8292ef0a91da3ebaad06e6ed4bf /sw/qa/extras/odfimport/odfimport.cxx
parent8fc7e856ccc3ba19158c6d86d507d9b7a0b140b8 (diff)
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@gmail.com> Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Diffstat (limited to 'sw/qa/extras/odfimport/odfimport.cxx')
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index fb4cf65f3788..2b24dc58fbef 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
}