[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri May 17 21:39:14 UTC 2019


 sw/qa/uitest/writer_tests5/xwindow.py |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 9976aa7b8420daa9f7a5290ae433e2ab338ca146
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri May 17 15:23:04 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri May 17 23:38:10 2019 +0200

    Fix expected mouseEntered/Exited values in xwindow.py test
    
    (see <https://gerrit.libreoffice.org/#/c/72433/> "Temporarily disable broken
    part of xwindow.py test")
    
    Change-Id: I1c19e24d87971bb3a91f5ccea2f35ecf42f65028
    Reviewed-on: https://gerrit.libreoffice.org/72477
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sw/qa/uitest/writer_tests5/xwindow.py b/sw/qa/uitest/writer_tests5/xwindow.py
index 51bee376968a..c1b86323d629 100644
--- a/sw/qa/uitest/writer_tests5/xwindow.py
+++ b/sw/qa/uitest/writer_tests5/xwindow.py
@@ -167,11 +167,12 @@ class XWindow(UITestCase):
         global mouseReleasedEventsIntercepted
         self.assertEqual(2, mouseReleasedEventsIntercepted)
 
+        # Upon xMouseEvent, enter the vcl::Window with GetText() being "Standard", then upon
+        # xMouseEvent2, exit that vcl::Window and enter the one with get_id() being "writer_edit":
         global mouseEnteredEventsIntercepted
-        #TODO: self.assertEqual(1, mouseEnteredEventsIntercepted)
-
+        self.assertEqual(2, mouseEnteredEventsIntercepted)
         global mouseExitedEventsIntercepted
-        #TODO: self.assertEqual(0, mouseExitedEventsIntercepted)
+        self.assertEqual(1, mouseExitedEventsIntercepted)
 
         # close document
         self.ui_test.close_doc()


More information about the Libreoffice-commits mailing list