Skip to main content


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
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 Apr 19 10:37:28 GMT 2024

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

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

Back to the top