]
Max Rydahl Andersen commented on JBIDE-19945:
---------------------------------------------
they seem to run fine for me as long as I have the jbosstools.test.jre.5 property set as
(now) documented at
org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
failures
---------------------------------------------------------------------------
Key: JBIDE-19945
URL:
https://issues.jboss.org/browse/JBIDE-19945
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Reporter: Daniel Azarov
Fix For: 4.3.0.Beta1
{code}
-------------------------------------------------------------------------------
Test set: org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
-------------------------------------------------------------------------------
Tests run: 7, Failures: 4, Errors: 1, Skipped: 0, Time elapsed: 22.278 sec <<<
FAILURE! - in org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest)
Time elapsed: 0.002 sec <<< FAILURE!
junit.framework.AssertionFailedError: The JRE5 location is not right
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at
org.jboss.tools.ws.creation.core.test.command.AbstractJBossWSGenerationTest.setUp(AbstractJBossWSGenerationTest.java:69)
at
org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest.setUp(JBossWSTopDownCommandTest.java:59)
testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest)
Time elapsed: 0.508 sec <<< ERROR!
java.lang.NullPointerException: null
at org.eclipse.jdt.launching.AbstractVMInstall.setName(AbstractVMInstall.java:120)
at org.jboss.tools.as.test.core.internal.utils.JREUtils.createJRE(JREUtils.java:104)
at
org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.setUp(JBossWSJavaFirstCommandTest.java:64)
testInitialClientCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)
Time elapsed: 0 sec <<< FAILURE!
junit.framework.AssertionFailedError: The JRE5 location is not right
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at
org.jboss.tools.ws.creation.core.test.command.AbstractJBossWSGenerationTest.setUp(AbstractJBossWSGenerationTest.java:69)
at
org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest.setUp(JBossWSClientCommandTest.java:48)
testClientCodeGenerationCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)
Time elapsed: 0.001 sec <<< FAILURE!
junit.framework.AssertionFailedError: The JRE5 location is not right
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at
org.jboss.tools.ws.creation.core.test.command.AbstractJBossWSGenerationTest.setUp(AbstractJBossWSGenerationTest.java:69)
at
org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest.setUp(JBossWSClientCommandTest.java:48)
testRemoveClientJarsCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest)
Time elapsed: 0 sec <<< FAILURE!
junit.framework.AssertionFailedError: The JRE5 location is not right
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at
org.jboss.tools.ws.creation.core.test.command.AbstractJBossWSGenerationTest.setUp(AbstractJBossWSGenerationTest.java:69)
at
org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest.setUp(JBossWSClientCommandTest.java:48)
testMergeWebXMLCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSMergeWebXMLCommandTest)
Time elapsed: 16.904 sec
testJBIDE6175(org.jboss.tools.ws.creation.core.test.command.JBossWSClientSampleCreationCommandTest)
Time elapsed: 4.789 sec
{code}