You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2010/03/15 17:34:56 UTC

svn commit: r923331 - in /openwebbeans/trunk: pom.xml webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties

Author: struberg
Date: Mon Mar 15 16:34:56 2010
New Revision: 923331

URL: http://svn.apache.org/viewvc?rev=923331&view=rev
Log:
OWB-316 add a framework for unit testing CDI containers

Modified:
    openwebbeans/trunk/pom.xml
    openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties

Modified: openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/pom.xml?rev=923331&r1=923330&r2=923331&view=diff
==============================================================================
--- openwebbeans/trunk/pom.xml (original)
+++ openwebbeans/trunk/pom.xml Mon Mar 15 16:34:56 2010
@@ -361,6 +361,7 @@
         <module>webbeans-jsf</module>
         <module>webbeans-resource</module>
         <module>webbeans-porting</module>
+        <module>webbeans-test</module>
         <module>samples</module>
         <module>atinject-tck</module>
         <!--<module>webbeans-tck</module>-->
@@ -537,6 +538,17 @@
                                 <version>${openwebbeans.version}</version>
                         </dependency>
 
+                        <!-- CDI Testing Framework -->
+                        <dependency>
+                                <groupId>org.apache.openwebbeans.test</groupId>
+                                <artifactId>cditest</artifactId>
+                                <version>${openwebbeans.version}</version>
+                        </dependency>
+                        <dependency>
+                                <groupId>org.apache.openwebbeans.test</groupId>
+                                <artifactId>cditest-owb</artifactId>
+                                <version>${openwebbeans.version}</version>
+                        </dependency>
 
 			<dependency>
 				<groupId>org.apache.openejb</groupId>

Modified: openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=923331&r1=923330&r2=923331&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties (original)
+++ openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties Mon Mar 15 16:34:56 2010
@@ -24,4 +24,4 @@
 org.apache.webbeans.spi.ResourceInjectionService=org.apache.webbeans.resource.spi.se.StandaloneResourceInjectionService
 
 #Lifecycle to start container
-org.apache.webbeans.spi.ContainerLifecycle=org.apache.webbeans.lifecycle.test.EnterpriseTestLifeCycle
+org.apache.webbeans.spi.ContainerLifecycle=org.apache.webbeans.lifecycle.StandaloneLifeCycle