sw/qa/extras/odfimport/odfimport.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 6b84f67c7b48b4ed8703d9d6cbd9650d83c87913 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Thu Sep 12 21:22:59 2019 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Fri Sep 13 10:59:04 2019 +0200 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.ti...@collabora.com> 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") { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits