You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2009/08/25 21:19:43 UTC
svn commit: r807768 -
/openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java
Author: dblevins
Date: Tue Aug 25 19:19:42 2009
New Revision: 807768
URL: http://svn.apache.org/viewvc?rev=807768&view=rev
Log:
reformatted
Modified:
openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java
Modified: openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java?rev=807768&r1=807767&r2=807768&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java (original)
+++ openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/config/AltDDPrefixTest.java Tue Aug 25 19:19:42 2009
@@ -42,7 +42,7 @@
* @throws Exception
*/
public void testTestOnlyModule() throws Exception {
- System.out.println("*** testTestOnlyModule ***");
+ System.out.println("*** testTestOnlyModule ***");
Assembler assmbler = new Assembler();
SystemInstance.get().setProperty("openejb.altdd.prefix", "test");
ConfigurationFactory factory = new ConfigurationFactory();
@@ -55,7 +55,7 @@
}
public void testMultitplePrefixes() throws Exception {
- System.out.println("*** testMultitplePrefixes ***");
+ System.out.println("*** testMultitplePrefixes ***");
Assembler assmbler = new Assembler();
SystemInstance.get().setProperty("openejb.altdd.prefix", "footest, test");
ConfigurationFactory factory = new ConfigurationFactory();
@@ -77,15 +77,15 @@
}
-
+
/**
* OPENEJB-1059: altdd does not work with a persistence.xml when no embedded
* in EjbModule/Client module.
- *
+ *
* @throws Exception if something wrong happen
*/
public void testPersistenceUnit() throws Exception {
- System.out.println("*** testPersistenceUnit ***");
+ System.out.println("*** testPersistenceUnit ***");
Assembler assmbler = new Assembler();
SystemInstance.get().setProperty("openejb.altdd.prefix", "footest, test");
ConfigurationFactory factory = new ConfigurationFactory();
@@ -96,7 +96,7 @@
assertNotNull(appInfo);
assertEquals(0, appInfo.ejbJars.size());
assertEquals(1, appInfo.persistenceUnits.size());
-
+
PersistenceUnitInfo info = appInfo.persistenceUnits.get(0);
assertTrue(info.id.startsWith("footest-unit ")); // a space must be present before hashcode
@@ -106,11 +106,11 @@
/**
* OPENEJB-1059: altdd does not work with a persistence.xml when no embedded
* in EjbModule/Client module.
- *
+ *
* @throws Exception if something wrong happen
*/
public void testPersistenceUnitWithAllDD() throws Exception {
- System.out.println("*** testPersistenceUnitWithAllDD ***");
+ System.out.println("*** testPersistenceUnitWithAllDD ***");
Assembler assmbler = new Assembler();
// TODO should be better to add a remove property method
SystemInstance.get().setProperty("openejb.altdd.prefix", "");
@@ -122,7 +122,7 @@
assertNotNull(appInfo);
assertEquals(0, appInfo.ejbJars.size());
assertEquals(1, appInfo.persistenceUnits.size());
-
+
PersistenceUnitInfo info = appInfo.persistenceUnits.get(0);
assertTrue(info.id.startsWith("unit ")); // a space must be present before hashcode
}