summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-04-03 13:12:51 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2020-04-03 19:59:47 +0200
commit820a5155973fef28891c7cc9f9547c21b0f2bf1a (patch)
tree5bfc2d6e89f3f37f14cb61ea5e161adb8c7431c9 /uitest
parenta9a397eeece146b1ea8e12be50685313ea1f14d8 (diff)
tdf#80663, tdf#96067: move UItest to CppunitTest
Change-Id: I1af2de672db7124faec473202ce858ec292a2c6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91654 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/writer_tests4/insertTableDialog.py35
1 files changed, 0 insertions, 35 deletions
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)