Author: rsearls
Date: 2014-12-28 15:00:32 -0500 (Sun, 28 Dec 2014)
New Revision: 19291
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1581/JBWS1581TestCase.java
Log:
arquillian migration jbws1581 test
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1581/JBWS1581TestCase.java
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1581/JBWS1581TestCase.java 2014-12-28
19:49:50 UTC (rev 19290)
+++
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1581/JBWS1581TestCase.java 2014-12-28
20:00:32 UTC (rev 19291)
@@ -22,6 +22,8 @@
package org.jboss.test.ws.jaxws.jbws1581;
import java.io.File;
+import java.lang.Exception;
+import java.lang.String;
import java.net.URL;
import javax.naming.InitialContext;
@@ -40,6 +42,7 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.shrinkwrap.api.exporter.ZipExporter;
import org.jboss.arquillian.container.test.api.Deployer;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestHelper;
@@ -77,7 +80,7 @@
return archive;
}
- @Deployment(testable = false)
+ @Deployment(name="jaxws-jbws1581-ejb3", order=1, testable = false)
public static JavaArchive createDeployment2() {
JavaArchive archive = ShrinkWrap.create(JavaArchive.class,
"jaxws-jbws1581-ejb3.jar");
archive
@@ -92,8 +95,8 @@
}
@Deployment(name = EAR_DEPLOYMENT, testable = false, managed = false)
- public static JavaArchive createDeployment3() {
- JavaArchive archive = ShrinkWrap.create(JavaArchive.class, EAR_DEPLOYMENT +
".ear");
+ public static EnterpriseArchive createDeployment3() {
+ EnterpriseArchive archive = ShrinkWrap.create(EnterpriseArchive.class,
EAR_DEPLOYMENT + ".ear");
archive
.addManifest()
.addAsResource(new File(JBossWSTestHelper.getTestArchiveDir(), WAR_DEPLOYMENT
+ ".war"));
Show replies by date