Author: richard.opalka(a)jboss.com
Date: 2010-09-23 04:07:06 -0400 (Thu, 23 Sep 2010)
New Revision: 13010
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientOne.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientTwo.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.java
Log:
[JBMETA-298] repairing test case to be in sync with JavaDoc requirements
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java 2010-09-23
07:53:01 UTC (rev 13009)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.java 2010-09-23
08:07:06 UTC (rev 13010)
@@ -41,9 +41,13 @@
@WebServiceRef(name = "service1", value = EndpointService.class, type =
EndpointService.class, wsdlLocation = "META-INF/wsdl/Endpoint.wsdl")
// Test multiple on type
-@WebServiceRefs( {
- @WebServiceRef(name = "service2", value = EndpointService.class, type =
EndpointService.class),
- @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class) })
+@WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = EndpointService.class, type =
EndpointService.class),
+ @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class)
+ }
+)
public class EJB3Client implements EJB3Remote
{
// Provide logging
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientOne.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientOne.java 2010-09-23
07:53:01 UTC (rev 13009)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientOne.java 2010-09-23
08:07:06 UTC (rev 13010)
@@ -39,9 +39,13 @@
@WebServiceRef(name = "service1", value = EndpointService.class, type =
EndpointService.class, wsdlLocation = "META-INF/wsdl/Endpoint.wsdl")
// Test multiple on type
-@WebServiceRefs( {
- @WebServiceRef(name = "service2", value = EndpointService.class),
- @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class) })
+@WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = EndpointService.class, type =
EndpointService.class),
+ @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class)
+ }
+)
public class EndpointClientOne
{
// Provide logging
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientTwo.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientTwo.java 2010-09-23
07:53:01 UTC (rev 13009)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientTwo.java 2010-09-23
08:07:06 UTC (rev 13010)
@@ -35,17 +35,22 @@
import org.jboss.logging.Logger;
import org.jboss.test.ws.jaxws.samples.webserviceref.Endpoint;
import org.jboss.test.ws.jaxws.samples.webserviceref.EndpointService;
-//import org.jboss.ws.core.ConfigProvider;
-//Test on type
+// Test on type
@WebServiceRef(name = "Service1", type = EndpointService.class)
// Test multiple on type
-@WebServiceRefs( { @WebServiceRef(name = "Service2"), @WebServiceRef(name =
"Port1", type = Endpoint.class) })
+@WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "Service2", type = EndpointService.class),
+ @WebServiceRef(name = "Port1", type = Endpoint.class)
+ }
+)
public class EndpointClientTwo
{
// provide logging
private static final Logger log = Logger.getLogger(EndpointClientTwo.class);
-
+
// Test on field
@WebServiceRef(name = "Service3")
static Service service3;
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.java 2010-09-23
07:53:01 UTC (rev 13009)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.java 2010-09-23
08:07:06 UTC (rev 13010)
@@ -35,18 +35,22 @@
import org.jboss.logging.Logger;
-//Test on type with wsdlLocation
+// Test on type with wsdlLocation
@WebServiceRef(name = "service1", value = EndpointService.class, type =
EndpointService.class, wsdlLocation = "WEB-INF/wsdl/Endpoint.wsdl")
// Test multiple on type
-@WebServiceRefs( {
- @WebServiceRef(name = "service2", value = EndpointService.class, type =
EndpointService.class),
- @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class) })
+@WebServiceRefs
+(
+ {
+ @WebServiceRef(name = "service2", value = EndpointService.class, type =
EndpointService.class),
+ @WebServiceRef(name = "port1", value = EndpointService.class, type =
Endpoint.class)
+ }
+)
public class ServletClient extends HttpServlet
{
// Provide logging
private static Logger log = Logger.getLogger(ServletClient.class);
-
+
// Test on field with name
@WebServiceRef(name = "EndpointService3")
public EndpointService service3;