diff options
author | Sven Gothel <[email protected]> | 2013-11-25 04:25:04 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-25 04:25:04 +0100 |
commit | d5c25aa5584e98416208afef57610c85ac6c254c (patch) | |
tree | 6f56777890402c2f80218be16a6c6abbc1102890 /doc/userguide | |
parent | 09b5d1ed25f9b5de13d2b0980c95121d0d5d7c0e (diff) |
Bug 672 (NewtCanvasSWT): Reuse SWTAccessor.isOS_TYPE ; Impl NW.getLocationOnScreen(..) for X11 and Windows ; Allow unit test to run on all platforms.
- Reuse SWTAccessor.isOS_TYPE (public now)
- Impl NW.getLocationOnScreen(..) for X11 and Windows reusing existing native code
- Allow unit test to run on all platforms.
Note: NewtCanvasSWT unit tests require a 'wait for realized' while SWT dispatching.
Otherwise the 'sash unit test' will fail since realiziation happens later, at least on X11.
Hence extended AWTRobotUtil.waitForRealized(..) to use a 'waitAction'
which is used here w/ special SWT dispatch Runnable.
AWTRobotUtil.waitForRealized(..) operates on time-delta instead of iteration-counter,
allowing above 'waitAction' Runnable.
AWTRobotUtil.waitForRealized(..) removed 2nd 'glad.isRealized()' loop ..
Diffstat (limited to 'doc/userguide')
0 files changed, 0 insertions, 0 deletions