Testing Decorators in RCP

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Testing Decorators in RCP

Postby alagw » Tue Jul 29, 2008 5:11 am

Hi,

I add ControlDecoration (org.eclipse.jface.fieldassist.ControlDecoration) to my controls for displaying validation results.

Can I test with WindowTester, if the Decorators are displayed correctly, when a validation error appears?

Best regards
André
alagw
 
Posts: 1
Joined: Tue Jul 29, 2008 5:06 am

Re: Testing Decorators in RCP

Postby Phil Quitslund » Tue Jul 29, 2008 7:57 am

Hi André,

We have support for asserting message contents in the context of dialogs and wizards:

http://downloads.instantiations.com/Win ... cator.html
http://downloads.instantiations.com/Win ... cator.html

But we do not have generalized ControlDecorator support. If you point us to (or put together) a simple SWT snippet demonstrating what you are working with (and tell us just what you want to verify), we'll be happy to investigate implementing this feature.

Thanks for the inquiry!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest