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 06:46
Ralf Ebert is currently offline 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/
Previous Topic:Menus and Mac
Next Topic:SWTBot application and plugin
Goto Forum:
  


Current Time: Fri Jul 25 21:11:03 EDT 2014

Powered by FUDForum. Page generated in 0.01720 seconds