views:

11

answers:

0

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?