[jbossws-commits] JBossWS SVN: r19281 - stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2960.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Sat Dec 27 16:35:21 EST 2014


Author: rsearls
Date: 2014-12-27 16:35:21 -0500 (Sat, 27 Dec 2014)
New Revision: 19281

Modified:
   stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2960/JBWS2960TestCase.java
Log:
arquillian migration jbws2960 test

Modified: stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2960/JBWS2960TestCase.java
===================================================================
--- stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2960/JBWS2960TestCase.java	2014-12-27 21:28:00 UTC (rev 19280)
+++ stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2960/JBWS2960TestCase.java	2014-12-27 21:35:21 UTC (rev 19281)
@@ -34,6 +34,10 @@
 import javax.xml.namespace.QName;
 
 import junit.framework.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.jboss.arquillian.container.test.api.RunAsClient;
+import org.jboss.arquillian.junit.Arquillian;
 
 import org.jboss.ws.api.util.DOMUtils;
 import org.jboss.wsf.test.JBossWSTest;
@@ -45,6 +49,7 @@
  *
  * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
  */
+ at RunWith(Arquillian.class)
 public class JBWS2960TestCase extends JBossWSTest
 {
    private static final QName WSAM_ACTION_QNAME = new QName("http://www.w3.org/2007/05/addressing/metadata", "Action");
@@ -84,8 +89,11 @@
      </binding>
    </definitions>
     */
+   @Test
+   @RunAsClient
    public void testPolicyReference() throws Exception
    {
+      setUp();
       Definition wsdl = getWSDLDefinition(wsdlFile.getAbsolutePath());
       List<?> definitionExtElements = wsdl.getExtensibilityElements();
       QName serviceQName = new QName("http://foobar.org/", "AddNumbersService");
@@ -107,8 +115,11 @@
       assertNotNull("NonAnonymousResponses element not found", nonAnonymousResponsesElement);
    }
 
+   @Test
+   @RunAsClient
    public void testOperations() throws Exception
    {
+      setUp();
       Definition wsdl = getWSDLDefinition(wsdlFile.getAbsolutePath());
       PortType port = wsdl.getPortType(new QName("http://foobar.org/", "AddNumbers"));
       Operation operation = null;



More information about the jbossws-commits mailing list