Thank you.
First Eclipse complained that it has not method
bot.getDisplay();But the error message was wrong. I had to put SWT or JFACE in
the dependency. Then it compiled. I should not believe Eclipse so often...
Your little test passes, so the backporting worked. I am still not through for
applying it.
--- On Thu, 6/26/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote:
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Test for non UI-thread
To: swtbot-users@lists.sourceforge.net
Date: Thursday, June 26, 2008, 6:26 AM
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
-------------------------------------------------------------------------
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