Problem with CommandFinder class...

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-04-13T07:56:42Z Indexed on 2010/04/13 8:03 UTC
Read the original article Hit count: 338

Filed under:
|
|
|
|

and I'm not sure why...

Hello Everbody! I'm trying to make my first steps with SWTBot. I'm trying to test an Eclipse RCP Application.

In one test i'm trying to call a command to save a dirty editor. But an assertion after the call, tells me that the editor is still dirty. An the data in the dirty editor is not showing up in the database.

On the other hand, i'm not getting an Exception when calling the command...

new CommandFinder().findCommand(CoreMatchers.equalTo(COMMANDNAME_SAVE)).get(0).click();

Has anyone any insperation for me, where i made a mistake?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse