diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-17 15:23:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-17 23:38:10 +0200 |
commit | 9976aa7b8420daa9f7a5290ae433e2ab338ca146 (patch) | |
tree | a3232fdf35b04cbabd7cf14311e5a3396544fc24 | |
parent | 4ca556d041b3e27c4aeebf7434814eb8a4350203 (diff) |
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@redhat.com>
-rw-r--r-- | sw/qa/uitest/writer_tests5/xwindow.py | 7 |
1 files changed, 4 insertions, 3 deletions
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() |