Author: pete.muir(a)jboss.org
Date: 2008-08-05 19:08:49 -0400 (Tue, 05 Aug 2008)
New Revision: 66
Added:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/DeploymentStrategyTest.java
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/InitializationTest.java
Modified:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/EnterpriseComponentModelTest.java
Log:
Deployment tests
Added:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/DeploymentStrategyTest.java
===================================================================
---
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/DeploymentStrategyTest.java
(rev 0)
+++
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/DeploymentStrategyTest.java 2008-08-05
23:08:49 UTC (rev 66)
@@ -0,0 +1,24 @@
+package org.jboss.webbeans.test;
+
+import java.net.URL;
+
+import javax.webbeans.Container;
+
+import org.jboss.webbeans.ContainerImpl;
+import org.jboss.webbeans.deployment.DeploymentStrategy;
+import org.junit.Test;
+import org.scannotation.ClasspathUrlFinder;
+
+public class DeploymentStrategyTest
+{
+
+ @Test
+ public void testDeploymentStrategy()
+ {
+ URL[] urls = {ClasspathUrlFinder.findClassBase(DeploymentStrategyTest.class)};
+ Container container = new ContainerImpl(null);
+ DeploymentStrategy deploymentStrategy = new
DeploymentStrategy(Thread.currentThread().getContextClassLoader(), container);
+ deploymentStrategy.scan(urls);
+ }
+
+}
Property changes on:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/DeploymentStrategyTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/EnterpriseComponentModelTest.java
===================================================================
---
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/EnterpriseComponentModelTest.java 2008-08-05
23:05:35 UTC (rev 65)
+++
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/EnterpriseComponentModelTest.java 2008-08-05
23:08:49 UTC (rev 66)
@@ -25,7 +25,6 @@
import org.jboss.webbeans.util.ClassAnnotatedItem;
import org.jboss.webbeans.util.MutableAnnotatedItem;
import org.jboss.webbeans.util.Reflections;
-import static org.jboss.webbeans.util.Reflections.annotationSetMatches;
import org.junit.Before;
import org.junit.Test;
Added:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/InitializationTest.java
===================================================================
--- ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/InitializationTest.java
(rev 0)
+++
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/InitializationTest.java 2008-08-05
23:08:49 UTC (rev 66)
@@ -0,0 +1,14 @@
+package org.jboss.webbeans.test;
+
+import org.junit.Test;
+
+public class InitializationTest
+{
+
+ @Test
+ public void test()
+ {
+
+ }
+
+}
Property changes on:
ri/trunk/webbeans-impl/src/test/java/org/jboss/webbeans/test/InitializationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date