[weld-commits] Weld SVN: r6610 - archetypes/trunk/javaee6-webapp-src/src/test/java/com/mycompany.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sat Jul 10 01:49:18 EDT 2010


Author: dan.j.allen
Date: 2010-07-10 01:49:18 -0400 (Sat, 10 Jul 2010)
New Revision: 6610

Modified:
   archetypes/trunk/javaee6-webapp-src/src/test/java/com/mycompany/MemberRegistrationTest.java
Log:
track Arquillian refactorings


Modified: archetypes/trunk/javaee6-webapp-src/src/test/java/com/mycompany/MemberRegistrationTest.java
===================================================================
--- archetypes/trunk/javaee6-webapp-src/src/test/java/com/mycompany/MemberRegistrationTest.java	2010-07-10 05:49:04 UTC (rev 6609)
+++ archetypes/trunk/javaee6-webapp-src/src/test/java/com/mycompany/MemberRegistrationTest.java	2010-07-10 05:49:18 UTC (rev 6610)
@@ -9,7 +9,7 @@
 import org.jboss.shrinkwrap.api.ShrinkWrap;
 import org.jboss.shrinkwrap.api.Archive;
 import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.jboss.shrinkwrap.impl.base.asset.ByteArrayAsset;
+import org.jboss.shrinkwrap.api.asset.ByteArrayAsset;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.slf4j.Logger;
@@ -20,7 +20,7 @@
 {
    @Deployment
    public static Archive<?> createTestArchive() {
-      return ShrinkWrap.create("test.war", WebArchive.class)
+      return ShrinkWrap.create(WebArchive, "test.war")
          .addClasses(Member.class, MemberRegistration.class, MemberRepository.class, MemberRepositoryProducer.class)
          .addPackage(Logger.class.getPackage())
          .addWebResource("test-persistence.xml", "classes/META-INF/persistence.xml")



More information about the weld-commits mailing list