From 820a5155973fef28891c7cc9f9547c21b0f2bf1a Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 3 Apr 2020 13:12:51 +0200 Subject: tdf#80663, tdf#96067: move UItest to CppunitTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1af2de672db7124faec473202ce858ec292a2c6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91654 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ --- uitest/writer_tests4/insertTableDialog.py | 35 ------------------------------- 1 file changed, 35 deletions(-) (limited to 'uitest') diff --git a/uitest/writer_tests4/insertTableDialog.py b/uitest/writer_tests4/insertTableDialog.py index 60d427954a4c..ff9e3349943a 100644 --- a/uitest/writer_tests4/insertTableDialog.py +++ b/uitest/writer_tests4/insertTableDialog.py @@ -44,41 +44,6 @@ class WriterInsertTableDialog(UITestCase): tableText = table.getCellByName( cellName ) tableText.setString( text ) - def test_tdf80663(self): - - self.insert_table("Test1", 2, 2) - - document = self.ui_test.get_component() - - tables = document.getTextTables() - self.xUITest.executeCommand(".uno:DeleteRows") - - self.assertEqual(len(tables[0].getRows()), 1) - self.assertEqual(len(tables[0].getColumns()), 2) - - self.xUITest.executeCommand(".uno:Undo") - - self.assertEqual(len(tables[0].getRows()), 2) - self.assertEqual(len(tables[0].getColumns()), 2) - - self.ui_test.close_doc() - - def test_tdf96067(self): - - self.insert_table("Test2", 3, 3) - - self.xUITest.executeCommand(".uno:SelectTable") - self.xUITest.executeCommand(".uno:InsertRowsBefore") - - document = self.ui_test.get_component() - tables = document.getTextTables() - self.assertEqual(len(tables[0].getRows()), 6) - self.assertEqual(len(tables[0].getColumns()), 3) - - self.xUITest.executeCommand(".uno:Undo") - - self.ui_test.close_doc() - def test_tdf104158(self): self.insert_table("Test3", 2, 2) -- cgit