Project: Eclipse_Platform_UI
Bug 72596 [Tests] Porting keyboard events from AWT's robot to SWT's "Display.post"
Reported: 2004-08-25 11:02:02 | Status: resolved fixed

In 3.0, SWT introduced a "Display.post(Event)" method to generate low level keyboard and mouse events. I am attaching a patch that replaces the AWT Robot calls in the KeysTestSuites tests with SWT's "Display.post". I have found it to work better across platforms on the SWT display.

Files changed in fix:
tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/Bug43538Test.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/Bug43610Test.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/Bug53489Test.java tests/org.eclipse.ui.tests/UI Test Utils/org/eclipse/ui/tests/util/AutomationUtil.java