[jbosstools-issues] [JBoss JIRA] (JBIDE-9464) test failures in org.jboss.tools.esb.ui.bot.test
Nick Boldt (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Dec 1 23:07:40 EST 2011
[ https://issues.jboss.org/browse/JBIDE-9464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647412#comment-12647412 ]
Nick Boldt commented on JBIDE-9464:
-----------------------------------
Test's pom.xml sets it to be disabled.
http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_3.3.indigo/job/jbosstools-3.3_trunk.component--esb/594/console
{code}
[INFO] --- tycho-surefire-plugin:0.13.0:test (default-test) @ org.jboss.tools.esb.ui.bot.test ---
[INFO] Skipping tests
{code}
Why is the test being skipped? Because you set this in your pom.xml, lines 20-24:
{code}
** ./tests/org.jboss.tools.esb.ui.bot.test/pom.xml **
20- <configuration>
21- <useUIThread>false</useUIThread>
22: <skip>${swtbot.test.skip}</skip>
23- </configuration>
24- </plugin>
{code}
where swtbot.test.skip is set in the parent pom thus:
{code}
<swtbot.test.skip>true</swtbot.test.skip>
{code}
If I override this flag
{code}
$ mvn3 clean install -Dswtbot.test.skip=false
{code}
I get this:
{code}
[INFO] BUILD FAILURE
[INFO] Total time: 2:49.327s
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.13.0:test (default-test) on project org.jboss.tools.esb.ui.bot.test: There are test failures.
org.jboss.tools.esb.ui.bot.tests.Editing Time elapsed: 0 sec <<< ERROR!
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.<init>(AbstractSWTBot.java:97)
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl.<init>(AbstractSWTBotControl.java:47)
at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:49)
at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:38)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.activeShell(SWTBotFactory.java:341)
at org.jboss.tools.ui.bot.ext.SWTBotExt.activeShell(SWTBotExt.java:1)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:208)
at org.jboss.tools.ui.bot.ext.SWTBotExt.menu(SWTBotExt.java:1)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:198)
at org.jboss.tools.ui.bot.ext.SWTBotExt.menu(SWTBotExt.java:62)
at org.jboss.tools.ui.bot.ext.SWTOpenExt.newObject(SWTOpenExt.java:183)
at org.jboss.tools.esb.ui.bot.tests.Editing.setupProject(Editing.java:64)
...
{code}
> test failures in org.jboss.tools.esb.ui.bot.test
> ------------------------------------------------
>
> Key: JBIDE-9464
> URL: https://issues.jboss.org/browse/JBIDE-9464
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: esb, testing
> Affects Versions: 3.3.0.M3
> Reporter: Nick Boldt
> Assignee: Len DiMaggio
> Fix For: 3.3.0.M5
>
> Attachments: org.jboss.tools.esb.ui.bot.tests.ESBAllBotTests.txt
>
>
> svn co http://svn.jboss.org/repos/jbosstools/trunk/
> cd trunk; mvn clean install
> [INFO] org.jboss.tools.esb.ui.bot.test ................... FAILURE [19.709s]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list