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

New commits:
commit 9976aa7b8420daa9f7a5290ae433e2ab338ca146
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri May 17 15:23:04 2019 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to