Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Improvements for testing RCP applications
Improvements for testing RCP applications [message #31456] Sun, 05 April 2009 10:46
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 72
Registered: July 2009

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 to varargs method so you can create a
multi table selection by string
- Added SWTEclipseBot.activePerspective/perspectiveByLabel to work with
Eclipse RCP perspectives

What do you think?


Ralf Ebert
Previous Topic:Menus and Mac
Next Topic:SWTBot application and plugin
Goto Forum:

Current Time: Fri Apr 20 16:50:34 GMT 2018

Powered by FUDForum. Page generated in 0.01416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software