On 26-Jun-08, at 3:44 PM, Hans Schwaebli wrote:

> Is there a test in your SWT Bot test suite which would fail if the  
> tests are run in the UI thread? If yes, I can run them to verify if  
> my implementation is correct.


assertNotSame(bot.getDisplay().getThread(), Thread.currentThread());

-- Ketan


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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