summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-12 21:22:59 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-13 10:59:04 +0200
commit6b84f67c7b48b4ed8703d9d6cbd9650d83c87913 (patch)
treef2543d26243c12731b224885cee612f5560efb19 /sw
parent260caebf8a2382bcde1fb9ff74ceb1b940654e6f (diff)
Disable test testFdo37606Copy::Import when we don't have UI
The test uses clipboard which works differently when there is no UI therefore it fails. In Online, when configured with --disable-gui, the actual operations work, i.e. one can copy the table from top of the document and paste it at the end of the document. Change-Id: I530e01a5d81dc46514fbf34502a31fef4c1e4995 Reviewed-on: https://gerrit.libreoffice.org/78846 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 629a7f194e62..616580f31274 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -583,6 +583,8 @@ DECLARE_ODFIMPORT_TEST(testFdo37606, "fdo37606.odt")
CPPUNIT_ASSERT(!pContentNode->FindTableNode());
}
}
+
+#if HAVE_FEATURE_UI
DECLARE_ODFIMPORT_TEST(testFdo37606Copy, "fdo37606.odt")
{
SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
@@ -609,6 +611,7 @@ DECLARE_ODFIMPORT_TEST(testFdo37606Copy, "fdo37606.odt")
uno::Reference<container::XIndexAccess> xTables(xTablesSupplier->getTextTables(), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTables->getCount());
}
+#endif
DECLARE_ODFIMPORT_TEST(testFdo69862, "fdo69862.odt")
{