Author: thomas.diesler(a)jboss.com
Date: 2008-02-28 09:00:01 -0500 (Thu, 28 Feb 2008)
New Revision: 5846
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1857/JBWS1857TestCase.java
Log:
javadoc
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1857/JBWS1857TestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1857/JBWS1857TestCase.java 2008-02-28
13:53:13 UTC (rev 5845)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1857/JBWS1857TestCase.java 2008-02-28
14:00:01 UTC (rev 5846)
@@ -30,7 +30,7 @@
import org.jboss.wsf.test.JBossWSTest;
/**
- * [JBWS-1857] JAXBContext created for every invokation of service.getPort()
+ * [JBWS-1857] JAXBContext created for every wrapper type
*
*
http://jira.jboss.org/jira/browse/JBWS-1857
*
@@ -43,13 +43,11 @@
public void testPortCreation() throws Exception
{
File wsdlFile = new
File("resources/jaxws/jbws1857/StammdatenService.wsdl");
- assertTrue(wsdlFile.exists());
-
QName serviceName = new QName("http://example.com",
"StammdatenService");
Service service = Service.create(wsdlFile.toURL(), serviceName);
long start = System.currentTimeMillis();
- Stammdaten port = service.getPort(Stammdaten.class);
+ service.getPort(Stammdaten.class);
long time = start - System.currentTimeMillis();
assertTrue("Creation of the port took too long", time < 20000);