Improvements for testing RCP applications [message #31456] |
Sun, 05 April 2009 10:46 |
Ralf Ebert Messages: 72 Registered: July 2009 |
Member |
|
|
Hi,
I did some patches to allow easier testing of RCP apps:
- Allow construction of a SWTBot that will match the contents of a given widget
- Added SWTBotWorkbenchPart.getContents() to get a SWTBot instance
matching only the contents of the workbench part using the convenient
SWTBot methods
- separated SWTBotEclipseEditor and SWTBotEclipseTextEditor for testing
RCP applications where editors usually aren't text editors
- Added SWTBotEclipseEditor.isDirty() to query for dirty state of an editor
- Changed SWTBotTable.select to varargs method so you can create a
multi table selection by string
- Added SWTEclipseBot.activePerspective/perspectiveByLabel to work with
Eclipse RCP perspectives
https://bugs.eclipse.org/bugs/show_bug.cgi?id=271246
What do you think?
Greetings,
Ralf
--
Ralf Ebert
http://www.ralfebert.de/blog/
|
|
|
Powered by
FUDForum. Page generated in 0.01821 seconds