commit | 4033f81c7f06bbe87e9ce890636340e5eaeb14b7 | [log] [tgz] |
---|---|---|
author | Patrick Tasse <patrick.tasse@gmail.com> | Tue Apr 25 13:33:28 2017 -0400 |
committer | Patrick Tasse <patrick.tasse@gmail.com> | Tue Apr 25 14:35:17 2017 -0400 |
tree | 8f7eada67a8ce4a3ee78e609499df909e59d618b | |
parent | 17ce15d43adf2934f644da941cd8220dcdbb880f [diff] |
Bug 515781: Wrong coordinates in table/tree selection mouse events - Add AbstractSWTBot.getBounds() method. Throw UnsupportedOperationException by default. - Implement getBounds() in AbstractSWTBotControl, SWTBotTableItem, SWTBotTreeItem, SWTBotTableColumn, SWTBotTreeColumn. - Make all subclasses of AbstractSWTBot that use a widget that is a Control extend AbstractSWTBotControl. - Add AbstractSWTBot.createMouseEvent() method without x and y parameters that uses the center of the widget bounds as coordinates. - Use this new createMouseEvent() for mouse events in SWTBotTable/Tree/Item/Column selection, click and doubleClick methods. - Fix SWT events in AbstractSWTBot.doubleClickXY() method. - Fix asyncExec handling in SWTBotTable.doubleClick() method. Change-Id: I19e0ef94dba702e0023cb5b5a063103599e26322 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
SWTBot is a Java API that interacts with SWT by using high-level operations. It is generally use to write UI tests efficiently since the grain of the API is the same grain as UI operation. It makes easier to transform a user scenario to an automated tests.
http://wiki.eclipse.org/SWTBot
GitHub tracker and pull requests are currently not supported by the contribution process.
Please read http://wiki.eclipse.org/SWTBot/Contributing to know how to interact well with the community. For further questions about contributing to SWTBot, please send a mail to swtbot-dev@eclipse.org .