From 6b84f67c7b48b4ed8703d9d6cbd9650d83c87913 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 12 Sep 2019 21:22:59 +0200 Subject: 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 --- sw/qa/extras/odfimport/odfimport.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw') 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(mxComponent.get()); @@ -609,6 +611,7 @@ DECLARE_ODFIMPORT_TEST(testFdo37606Copy, "fdo37606.odt") uno::Reference xTables(xTablesSupplier->getTextTables(), uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTables->getCount()); } +#endif DECLARE_ODFIMPORT_TEST(testFdo69862, "fdo69862.odt") { -- cgit