openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r492754 - in /incubator/openejb/trunk/openejb3/itests: openejb-itests-beans/src/main/resources/META-INF/ openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/ openejb-itests-client/src/main/java/org/apache/openejb/test/ent...
Date Thu, 04 Jan 2007 21:28:58 GMT
Author: dblevins
Date: Thu Jan  4 13:28:57 2007
New Revision: 492754

URL: http://svn.apache.org/viewvc?view=rev&rev=492754
Log:
Enabled the existing EjbContext.lookup tests

Modified:
    incubator/openejb/trunk/openejb3/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
    incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml
Thu Jan  4 13:28:57 2007
@@ -903,12 +903,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
 
         </session>
 
@@ -1004,13 +1004,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
-
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
 
         <!--
@@ -1104,6 +1103,13 @@
                 <res-type>javax.sql.DataSource</res-type>
                 <res-auth>Container</res-auth>
             </resource-ref>
+            <persistence-unit-ref>
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
 
         <!--
@@ -1453,12 +1459,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
 
         <!--
@@ -1567,13 +1573,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
-
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
 
         <!--
@@ -1682,13 +1687,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
-
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </session>
 
         <!--
@@ -1903,12 +1907,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
 
         </entity>
 
@@ -2007,13 +2011,12 @@
                 <res-auth>Container</res-auth>
             </resource-ref>
             <persistence-unit-ref>
-		<description>
-		    Persistence unit for testing the functionality.
-		</description>
-		<persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
-		<persistence-unit-name>openjpa-test-unit</persistence-unit-name>
-	    </persistence-unit-ref>
-
+                <description>
+                Persistence unit for testing the functionality.
+                </description>
+                <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
+                <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
+            </persistence-unit-ref>
         </entity>
 
         <!--

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -42,7 +42,7 @@
         this.addTest(new BmpEjbMetaDataTests());
         this.addTest(new BmpAllowedOperationsTests());
         this.addTest(new BmpJndiEncTests());
-//        this.addTest(new BmpContextLookupTests());
+        this.addTest(new BmpContextLookupTests());
         this.addTest(new BmpRmiIiopTests());
         
     }

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -41,7 +41,7 @@
         this.addTest(new CmpEjbMetaDataTests());
         //TODO:0:this.addTest(new CmpAllowedOperationsTests());
         this.addTest(new CmpJndiEncTests());
-//        this.addTest(new CmpContextLookupTests());
+        this.addTest(new CmpContextLookupTests());
         this.addTest(new CmpRmiIiopTests());
 
     }

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -42,7 +42,7 @@
         this.addTest(new CmpEjbMetaDataTests());
         //TODO:0:this.addTest(new CmpAllowedOperationsTests());
         this.addTest(new CmpJndiEncTests());
-//        this.addTest(new CmpContextLookupTests());
+        this.addTest(new CmpContextLookupTests());
         this.addTest(new CmpRmiIiopTests());
         
     }

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -52,7 +52,7 @@
         //suite.addTest(new StatefulAllowedOperationsTests());
         //suite.addTest(new BMTStatefulAllowedOperationsTests());
         suite.addTest(new StatefulJndiEncTests());
-//        suite.addTest(new StatefulContextLookupTests());
+        suite.addTest(new StatefulContextLookupTests());
         suite.addTest(new StatefulRmiIiopTests());
         /* TO DO
         suite.addTest(new StatefulEjbContextTests());

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -51,7 +51,7 @@
         //suite.addTest(new StatefulAllowedOperationsTests());
         //suite.addTest(new BMTStatefulAllowedOperationsTests());
         suite.addTest(new StatefulJndiEncTests());
-//        suite.addTest(new StatefulContextLookupTests());
+        suite.addTest(new StatefulContextLookupTests());
         suite.addTest(new StatefulRmiIiopTests());
         /* TO DO 
         suite.addTest(new StatefulEjbContextTests());

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -53,7 +53,8 @@
         suite.addTest(new BMTStatelessAllowedOperationsTests());
         suite.addTest(new StatelessBeanTxTests());
         suite.addTest(new StatelessJndiEncTests());
-//        suite.addTest(new StatelessContextLookupTests());
+        suite.addTest(new StatelessContextLookupTests());
+        suite.addTest(new StatelessPojoContextLookupTests());
         suite.addTest(new StatelessRmiIiopTests());
         suite.addTest(new MiscEjbTests());
         /* TO DO

Modified: incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java?view=diff&rev=492754&r1=492753&r2=492754
==============================================================================
--- incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java
(original)
+++ incubator/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java
Thu Jan  4 13:28:57 2007
@@ -54,7 +54,7 @@
         suite.addTest(new BMTStatelessAllowedOperationsTests());
         suite.addTest(new StatelessBeanTxTests());
         suite.addTest(new StatelessJndiEncTests());
-//        suite.addTest(new StatelessContextLookupTests());
+        suite.addTest(new StatelessContextLookupTests());
         suite.addTest(new StatelessPojoContextLookupTests());
         suite.addTest(new StatelessRmiIiopTests());
         suite.addTest(new MiscEjbTests());



Mime
View raw message