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

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Sat Dec 27 19:23:58 EST 2014


Author: rsearls
Date: 2014-12-27 19:23:58 -0500 (Sat, 27 Dec 2014)
New Revision: 19283

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

Modified: stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2528/JBWS2528TestCase.java
===================================================================
--- stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2528/JBWS2528TestCase.java	2014-12-27 22:19:06 UTC (rev 19282)
+++ stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2528/JBWS2528TestCase.java	2014-12-28 00:23:58 UTC (rev 19283)
@@ -33,6 +33,11 @@
 import javax.xml.namespace.QName;
 
 import org.jboss.wsf.test.JBossWSTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.RunAsClient;
+import org.jboss.arquillian.junit.Arquillian;
 
 /**
  * [JBWS-2528] Missing parameterOrder in portType/operation
@@ -42,6 +47,7 @@
  * @author alessio.soldano at jboss.com
  * @since 12-Mar-2009
  */
+ at RunWith(Arquillian.class)
 public class JBWS2528TestCase extends JBossWSTest
 {
    private static final String FS = System.getProperty("file.separator"); // '/' on unix, '\' on windows
@@ -65,8 +71,11 @@
       TEST_DIR = createResourceFile("..").getAbsolutePath();
    }
 
+   @Test
+   @RunAsClient
    public void test() throws Exception
    {
+      setUp();
       File destDir = new File(TEST_DIR, "wsprovide" + FS + "java");
       String absOutput = destDir.getAbsolutePath();
       String command = JBOSS_HOME + FS + "bin" + FS + "wsprovide" + EXT + " -k -w -o " + absOutput + " --classpath " + CLASSES_DIR + " " + ENDPOINT_CLASS;



More information about the jbossws-commits mailing list