ClassMatcher appears to have disappeared with the SWTBot 2.0 port and I could
not find a SWTBot replacement. Lines such as:
List<Button> controls = new ChildrenControlFinder(dialog.widget)
.findControls(new ClassMatcher(Button.class));
can no longer compile. In looking at your javadocs it looks as if it was
replaced with org.hamcrest.Matcher.
In 2.0, how would the above be rewritten to compile? I've added the
hamcrest.jar to my Eclipse project but Matcher is an interface.
Also, can you append a link to your CVS 2.0 source for your helpers -- such
as your 1.2 helper @
http://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.eclipse.finder.test/src/net/sf/swtbot/eclipse/finder/widgets/helpers/PackageExplorerView.java.
Thanks
--
View this message in context:
http://www.nabble.com/-SWTBot-2.0-Alpha--ClassMatcher--tp19904025p19904025.html
Sent from the SWTBot Users List mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse