dev/null |binary sw/qa/uitest/writer_tests8/tdf159797.py | 29 ----------------------------- 2 files changed, 29 deletions(-)
New commits: commit f3d4328e6a0c7b9792883c3b3d49ea5468e9898f Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Mar 1 11:59:12 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Mar 1 16:22:16 2024 +0100 Revert "Unit test to tdf159797" This reverts commit 173a79365b110cf70f628a602a22049562a477f5. Reason for revert: This is already covered in 66b30842e86fb6041bd6a453c6e3a877a3c177c1 with a CppUnittest, which is preferable to UItests Change-Id: I80ddb4f3d1da047e0c994fd3137a78ab70081edb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164191 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/uitest/data/tdf159797.odt b/sw/qa/uitest/data/tdf159797.odt deleted file mode 100755 index 437b6fc0cf7a..000000000000 Binary files a/sw/qa/uitest/data/tdf159797.odt and /dev/null differ diff --git a/sw/qa/uitest/writer_tests8/tdf159797.py b/sw/qa/uitest/writer_tests8/tdf159797.py deleted file mode 100644 index a29a1f517890..000000000000 --- a/sw/qa/uitest/writer_tests8/tdf159797.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- -# -# This file is part of the LibreOffice project. -# -# 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 uitest.uihelper.common import get_url_for_data_file -from libreoffice.uno.propertyvalue import mkPropertyValues -from com.sun.star.text.TextContentAnchorType import AT_PAGE, AT_PARAGRAPH - -class tdf159797(UITestCase): - - def test_tdf159797(self): - - with self.ui_test.load_file(get_url_for_data_file("tdf159797.odt")) as document: - - xWriterDoc = self.xUITest.getTopFocusWindow() - xWriterEdit = xWriterDoc.getChild("writer_edit") - xWriterEdit.executeAction("CLICK", mkPropertyValues({"START_POS": "26", "END_POS": "26"})) - xWriterEdit.executeAction("TYPE", mkPropertyValues({"TEXT": " "})) - xWriterEdit.executeAction("SELECT", mkPropertyValues({"START_POS": "0", "END_POS": "31"})) - windowState = xWriterEdit.getState(); - self.assertEqual(windowState[14].Value, "This is a sentence. \u2013 Here") - - -# vim: set shiftwidth=4 softtabstop=4 expandtab: