On 05-Oct-08, at 2:22 AM, Richard Adams wrote:

> Hello,
>  I'm having a problem with activating an SWT File Open Dialog.

The file dialog is a native dialog.

SWT does not have support to recognize native dialogs, and SWTBot
therefore cannot test them. See 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=164192 
  for more info.

> Incidentally, I believe there might be a bug in the class  
> ShellIsActive -
>  the statements
>  Assert.isLegal(StringUtils.isNull(text), "The shell text was null");
>               Assert.isLegal(StringUtils.isEmpty(text), "The shell text was  
> empty");
> in the constructor
>  fail if a valid string is passed in - if the assertions are negated
> the constructor completes successfully.


Thanks for bringing this up. I'll fix this, and I guess skipping even  
the simplest of tests is a bad idea!

-- Ketan


-------------------------------------------------------------------------
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
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to