[jboss-cvs] JBossAS SVN: r69889 - branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 18 11:23:43 EST 2008


Author: bdecoste
Date: 2008-02-18 11:23:43 -0500 (Mon, 18 Feb 2008)
New Revision: 69889

Modified:
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/PersistenceUnitScopeTestCase.java
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/SharedEntityTestCase.java
Log:
[JBPAPP-604] find correct PU

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/PersistenceUnitScopeTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/PersistenceUnitScopeTestCase.java	2008-02-18 16:09:12 UTC (rev 69888)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/PersistenceUnitScopeTestCase.java	2008-02-18 16:23:43 UTC (rev 69889)
@@ -41,14 +41,9 @@
    {
       super(name);
    }
-   
+
    public void testScope() throws Exception
    {
-      
-   }
-
-   public void atestScope() throws Exception
-   {
       EntityTest test = (EntityTest) getInitialContext().lookup("persistenceunitscope-test/EntityTestBean/remote");
       
       Entity1 entity1 = new Entity1();
@@ -68,7 +63,7 @@
 
    public static Test suite() throws Exception
    {
-      return getDeploySetup(PersistenceUnitScopeTestCase.class, ""); //persistenceunitscope-test.ear");
+      return getDeploySetup(PersistenceUnitScopeTestCase.class, "persistenceunitscope-test.ear");
    }
 
 }

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/SharedEntityTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/SharedEntityTestCase.java	2008-02-18 16:09:12 UTC (rev 69888)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/persistenceunits/unit/SharedEntityTestCase.java	2008-02-18 16:23:43 UTC (rev 69889)
@@ -43,11 +43,6 @@
    
    public void testSharedEntity() throws Exception
    {
-      
-   }
-
-   public void atestSharedEntity() throws Exception
-   {
       EntityTest test = (EntityTest) getInitialContext().lookup("persistenceunitsharedentity-test/EntityTestBean/remote");
       test.testSharedEntity();
       
@@ -57,7 +52,7 @@
 
    public static Test suite() throws Exception
    {
-      return getDeploySetup(SharedEntityTestCase.class, ""); //persistenceunitsharedentity-test.ear");
+      return getDeploySetup(SharedEntityTestCase.class, "persistenceunitsharedentity-test.ear");
    }
 
 }




More information about the jboss-cvs-commits mailing list