register() method in your sample EclipseTest

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

register() method in your sample EclipseTest

Postby brs » Fri Mar 16, 2007 9:54 am

Hi.

I am looking at your EclipseTest class, which is packaged up in your com.windowtester.swt.samples.zip archive. I notice that the class makes great use of the register() method on the IUIContext class. However I cannot find this method anywhere in the API that is bundled in the Eclipse help.

Any hint?

TIA,
B.
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK

register() method in your sample EclipseTest

Postby keertip » Fri Mar 16, 2007 12:47 pm

Hi,

In the Eclipse help, under WindowTester Guide->Reference -> API Reference(old) -> com.windowtester.swt -> IUIContext

You will find the register() method here.
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Postby brs » Fri Mar 16, 2007 2:08 pm

Thanks.

Does this mean that the method no longer applies?
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK

Postby keertip » Mon Mar 19, 2007 8:56 am

Yes, this mehod is part of the old API which has been depricated.
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Postby brs » Mon Mar 19, 2007 9:22 am

Thank you Keertip.

Perhaps your example test class could be updated to reflect the new API...

Kind regards,
B.
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK

Postby gnebling » Mon Mar 19, 2007 11:51 am

See the Samples page for the updated sample:

WindowTester Samples Page
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am

Postby brs » Mon Mar 19, 2007 3:28 pm

Thank you very much for the update!

B.
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest