Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Minerva UI Tests and miscellaneous issues

2011/6/21 Mykola Nikishov <mn@xxxxxxxxx>
On 06/21/2011 02:13 AM, Thomas Holland wrote:

>> I hope https://github.com/caniszczyk/minerva/pull/10 will save you
>> couple days next time ;-)
> Well, I pulled your latest Minerva repo and the bug I mentioned is still
> there. Building your Minerva fails with the same error:
> java.lang.RuntimeException: Bundle org.aniszczyk.minerva.tests.ui is not
> found.

Sure, my pull request implements only an IT for Minerva's archetype and
no fixes for any problems you've mentioned. During 'mvn
integration-test' for archetype module, it will generate sample project
(actually, the Minerva itself) and try to build it. It will fail build
for Minerva archetype if this generated project fails. It's the only
goal of this change.

I haven't pushed fixes I already have. In my private repo generated
project fails to run org.aniszczyk.minerva.ui.tests.SimpleUITestCase:

Caused by: java.lang.IllegalStateException: Could not find a display
       at org.eclipse.swtbot.swt.finder.utils.SWTUtils.display(SWTUtils.java:249)

It's the only remaining problem as far as I can see. I hope to fix it
today and push these changes.
 
in order to fix that you need to enable the Xvnc plugin and start a window manager
before starting the ui tests.

--
Matthias

Back to the top