Author: rsearls
Date: 2014-12-27 09:56:32 -0500 (Sat, 27 Dec 2014)
New Revision: 19276
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2529/JBWS2529TestCase.java
Log:
arquillian migration jbws2529 test
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2529/JBWS2529TestCase.java
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2529/JBWS2529TestCase.java 2014-12-27
14:48:57 UTC (rev 19275)
+++
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2529/JBWS2529TestCase.java 2014-12-27
14:56:32 UTC (rev 19276)
@@ -31,6 +31,11 @@
import org.jboss.wsf.test.JBossWSTest;
import org.w3c.dom.Element;
+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-2529] Missing type in generated WSDL part definition
*
@@ -39,6 +44,7 @@
* @author alessio.soldano(a)jboss.com
* @since 13-Mar-2009
*/
+(a)RunWith(Arquillian.class)
public class JBWS2529TestCase extends JBossWSTest
{
private static final String FS = System.getProperty("file.separator"); //
'/' on unix, '\' on windows
@@ -62,8 +68,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;
Show replies by date