Author: tveronezi Date: Tue Mar 22 00:45:59 2011 New Revision: 1084042 URL: http://svn.apache.org/viewvc?rev=1084042&view=rev Log: This is a continuation of the work started here (http://svn.apache.org/viewvc?view=revision&revision=1081644) and here(http://svn.apache.org/viewvc?view=revision&revision=1083280).
Changes: • container\openejb-core\src\test\java\org\apache\openejb\iTest.java: added the same change implemented on trunk (http://svn.apache.org/viewvc?view=revision&revision=959728) fixed junit classes: • org.apache.openejb.iTest: java.lang.IllegalStateException: Cannot find client/tools/DatabaseHome: javax.naming.NameNotFoundException Name "client/tools/DatabaseHome" not found. • org.apache.openejb.ApplicationTest: java.lang.IllegalStateException: Cannot find client/tools/DatabaseHome: javax.naming.NameNotFoundException Name "client/tools/DatabaseHome" not found. broken junit classes: • org.apache.openejb.core.stateful.EntityManagerPropogationTest: org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent • org.apache.openejb.core.mdb.AmqXmlTest: javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect • org.apache.openejb.core.cmp.jpa.UnenhancedTest: org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent Modified: openejb/branches/openejb-3.2.x/container/openejb-core/src/test/java/org/apache/openejb/iTest.java Modified: openejb/branches/openejb-3.2.x/container/openejb-core/src/test/java/org/apache/openejb/iTest.java URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.2.x/container/openejb-core/src/test/java/org/apache/openejb/iTest.java?rev=1084042&r1=1084041&r2=1084042&view=diff ============================================================================== --- openejb/branches/openejb-3.2.x/container/openejb-core/src/test/java/org/apache/openejb/iTest.java (original) +++ openejb/branches/openejb-3.2.x/container/openejb-core/src/test/java/org/apache/openejb/iTest.java Tue Mar 22 00:45:59 2011 @@ -60,11 +60,11 @@ public class iTest extends org.apache.op // Copied from org.apache.openejb.SomeoneBrokeSurefireAndThisIsADirtyHackForItTest that's now gone System.setProperty("openejb.assembler", org.apache.openejb.assembler.classic.Assembler.class.getName()); - System.setProperty("openejb.deployments.classpath.include", ".*openejb-itests-[^a].*-.*"); + System.setProperty("openejb.deployments.classpath.include", ".*openejb-itests-[^a].*"); System.setProperty("openejb.deployments.classpath.filter.descriptors", "true"); System.setProperty("openejb.deployments.classpath.filter.systemapps", "false"); System.setProperty("openejb.deployments.classpath.ear", "false"); - + TestManager.init(null); TestManager.start(); }
