Author: Grid.Qian
Date: 2011-01-09 23:16:56 -0500 (Sun, 09 Jan 2011)
New Revision: 28021
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java
Log:
JBIDE-6581: remove the codes of setting the system property
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2011-01-10
03:54:34 UTC (rev 28020)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSGenerationTest.java 2011-01-10
04:16:56 UTC (rev 28021)
@@ -47,7 +47,6 @@
public void setUp() throws Exception{
super.setUp();
- System.setProperty("jbosstools.test.jre.5",
"/qa/tools/opt/jdk1.5.0_15");
assertNotNull(ASTest.JRE_5_HOME, "No JRE5 property in System");
assertTrue("The JRE5 location is not right", new
Path(ASTest.JRE_5_HOME).toFile().exists());
createWSServer();
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java 2011-01-10
03:54:34 UTC (rev 28020)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java 2011-01-10
04:16:56 UTC (rev 28021)
@@ -79,6 +79,7 @@
startup(currentServer);
publishWebProject();
+ JobUtils.delay(12000);
String webServiceUrl =
"http://127.0.0.1:8080/JavaFirstTestProject/HelloWorld?wsdl";
URL url = new URL(webServiceUrl);
URLConnection conn = url.openConnection();
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java 2011-01-10
03:54:34 UTC (rev 28020)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSTopDownCommandTest.java 2011-01-10
04:16:56 UTC (rev 28021)
@@ -65,6 +65,7 @@
fproject.getProject().build(IncrementalProjectBuilder.FULL_BUILD, null);
startup(currentServer);
publishWebProject();
+ JobUtils.delay(12000);
assertTrue(currentServer.getModules().length > 0);
String webServiceUrl =
"http://127.0.0.1:8080/JBossWSTestProject/Greeter?wsdl";
URL url = new URL(webServiceUrl);