diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-04-03 12:41:05 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-04-06 10:35:09 +0200 |
commit | 0da05130dab54fc29ed51a62ad95d13d063e2519 (patch) | |
tree | e35de30042785f2e04b8a735bdb94df1eebc191f /sw/qa/uitest | |
parent | 1a26e950ab844f566701cecf32ca812e2e28a8cd (diff) |
tdf#117601: move UItest to CppunitTest
Change-Id: Ie326ce5c6b743248e1458b592b31d3a1c322ac49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91660
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r-- | sw/qa/uitest/table/tdf117601.py | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/sw/qa/uitest/table/tdf117601.py b/sw/qa/uitest/table/tdf117601.py deleted file mode 100644 index 7c70f16a6e5e..000000000000 --- a/sw/qa/uitest/table/tdf117601.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -from uitest.framework import UITestCase -from libreoffice.uno.propertyvalue import mkPropertyValues -from uitest.debug import sleep -#Bug 117601 - Crash in: libstdc++.so.6.0.22 on merge cells in writer with TDF .debs on Debian 9 - -class tdf117601(UITestCase): - - def test_tdf117601_merge_middle_column(self): - - self.ui_test.create_doc_in_start_center("writer") - xWriterDoc = self.xUITest.getTopFocusWindow() - xWriterEdit = xWriterDoc.getChild("writer_edit") - document = self.ui_test.get_component() - #* open Writer - #* create table 3x5 - #* merge the middle row - #--> crash - self.ui_test.execute_dialog_through_command(".uno:InsertTable") - xDialog = self.xUITest.getTopFocusWindow() - - column = xDialog.getChild("colspin") - column.executeAction("UP", tuple()) - row = xDialog.getChild("rowspin") - row.executeAction("UP", tuple()) - row.executeAction("UP", tuple()) - row.executeAction("UP", tuple()) - xOkBtn = xDialog.getChild("ok") - xOkBtn.executeAction("CLICK", tuple()) - - self.assertEqual(document.TextTables.getCount(), 1) - #go to middle row - xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "UP"})) - xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RIGHT"})) - #Table - Select Column .uno:EntireColumn - self.xUITest.executeCommand(".uno:EntireColumn") - #merge - self.xUITest.executeCommand(".uno:MergeCells") - self.assertEqual(document.TextTables.getCount(), 1) - - self.ui_test.close_doc() -# vim: set shiftwidth=4 softtabstop=4 expandtab: |