aboutsummaryrefslogtreecommitdiffstats
path: root/doc/wiki
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-18 23:24:42 +0100
committerSven Gothel <[email protected]>2012-01-18 23:24:42 +0100
commit60d91b002fa941ab971ff9ed5ad6002f72c92af1 (patch)
tree6d7f53aca4cd3c180b1758a859e5cd387a4dc19e /doc/wiki
parentab3c5678527ba2e4f092b7426527b8053d12e790 (diff)
UI Test / AWTRobotUtil: Relax and fix focus tests
- toFront*(..) uses the AWT Window focus state, instead of our AWTWindowFocusAdapter, which removes false negatives. Often the focus is already hold on the Window where no focus change will be recognized by our AWTWindowFocusAdapter. - assertRequestFocusAndWait(..) recovers from lack of focus-lost event (if received focus-gained) and only dumps the case - returns success. - Since assertRequestFocusAndWait(..) implicitly tests the passed FocusAdapter and relaxes the constraints (see above) no more post-call assertions on the FocusAdapter is being performed (removed). - assertRequestFocusAndWait(..) is no more used on AWT Window or Frame, see 1st note above!
Diffstat (limited to 'doc/wiki')
0 files changed, 0 insertions, 0 deletions