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 2007/12/21 23:38:05 UTC
svn commit: r606338 - in
/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test:
entity/bmp/ entity/cmp/ entity/cmp2/ stateful/ stateless/
Author: dblevins
Date: Fri Dec 21 14:38:04 2007
New Revision: 606338
URL: http://svn.apache.org/viewvc?rev=606338&view=rev
Log:
reformatted
Modified:
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpLocalTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp2/Cmp2TestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpLocalTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpLocalTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpLocalTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpLocalTestSuite.java Fri Dec 21 14:38:04 2007
@@ -18,18 +18,16 @@
import org.apache.openejb.test.TestManager;
-import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Properties;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
*/
-public class BmpLocalTestSuite extends org.apache.openejb.test.TestSuite{
+public class BmpLocalTestSuite extends org.apache.openejb.test.TestSuite {
- public BmpLocalTestSuite(){
+ public BmpLocalTestSuite() {
super();
this.addTest(new BmpJndiTests());
this.addTest(new BmpHomeIntfcTests());
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/bmp/BmpTestSuite.java Fri Dec 21 14:38:04 2007
@@ -16,26 +16,23 @@
*/
package org.apache.openejb.test.entity.bmp;
-import java.util.Properties;
+import org.apache.openejb.test.TestManager;
-import javax.naming.Context;
import javax.naming.InitialContext;
-
-import org.apache.openejb.test.TestManager;
+import java.util.Properties;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
*/
-public class BmpTestSuite extends org.apache.openejb.test.TestSuite{
-
- public BmpTestSuite(){
+public class BmpTestSuite extends org.apache.openejb.test.TestSuite {
+
+ public BmpTestSuite() {
super();
this.addTest(new BmpJndiTests());
this.addTest(new BmpHomeIntfcTests());
this.addTest(new BmpEjbHomeTests());
- this.addTest(new BmpEjbObjectTests());
+ this.addTest(new BmpEjbObjectTests());
this.addTest(new BmpRemoteIntfcTests());
this.addTest(new BmpHomeHandleTests());
this.addTest(new BmpHandleTests());
@@ -44,7 +41,7 @@
this.addTest(new BmpJndiEncTests());
this.addTest(new BmpContextLookupTests());
this.addTest(new BmpRmiIiopTests());
-
+
}
public static junit.framework.Test suite() {
@@ -60,11 +57,11 @@
//props.put(Context.SECURITY_PRINCIPAL, "ENTITY_TEST_CLIENT");
//props.put(Context.SECURITY_CREDENTIALS, "ENTITY_TEST_CLIENT");
InitialContext initialContext = new InitialContext(props);
-
+
/*[2] Create database table */
TestManager.getDatabase().createEntityTable();
}
-
+
/**
* Tears down the fixture, for example, close a network connection.
* This method is called after a test is executed.
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpLocalTestSuite.java Fri Dec 21 14:38:04 2007
@@ -19,18 +19,16 @@
import org.apache.openejb.test.TestManager;
import org.apache.openejb.test.entity.cmp2.EjbqlLocalTest;
-import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Properties;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
*/
-public class CmpLocalTestSuite extends org.apache.openejb.test.TestSuite{
+public class CmpLocalTestSuite extends org.apache.openejb.test.TestSuite {
- public CmpLocalTestSuite(){
+ public CmpLocalTestSuite() {
super();
this.addTest(new CmpJndiTests());
this.addTest(new CmpHomeIntfcTests());
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/CmpTestSuite.java Fri Dec 21 14:38:04 2007
@@ -16,21 +16,18 @@
*/
package org.apache.openejb.test.entity.cmp;
-import java.util.Properties;
+import org.apache.openejb.test.TestManager;
-import javax.naming.Context;
import javax.naming.InitialContext;
-
-import org.apache.openejb.test.TestManager;
+import java.util.Properties;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
*/
-public class CmpTestSuite extends org.apache.openejb.test.TestSuite{
-
- public CmpTestSuite(){
+public class CmpTestSuite extends org.apache.openejb.test.TestSuite {
+
+ public CmpTestSuite() {
super();
this.addTest(new CmpJndiTests());
this.addTest(new CmpHomeIntfcTests());
@@ -75,11 +72,11 @@
//props.put(Context.SECURITY_PRINCIPAL, "ENTITY_TEST_CLIENT");
//props.put(Context.SECURITY_CREDENTIALS, "ENTITY_TEST_CLIENT");
InitialContext initialContext = new InitialContext(props);
-
+
/*[2] Create database table */
TestManager.getDatabase().createEntityTable();
}
-
+
/**
* Tears down the fixture, for example, close a network connection.
* This method is called after a test is executed.
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp2/Cmp2TestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp2/Cmp2TestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp2/Cmp2TestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp2/Cmp2TestSuite.java Fri Dec 21 14:38:04 2007
@@ -16,12 +16,11 @@
*/
package org.apache.openejb.test.entity.cmp2;
-import java.util.Properties;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-
import org.apache.openejb.test.TestManager;
import org.apache.openejb.test.entity.cmr.CmrTestSuite;
+
+import javax.naming.InitialContext;
+import java.util.Properties;
/**
* @version $Revision: 472584 $ $Date: 2006-11-08 10:47:55 -0800 (Wed, 08 Nov 2006) $
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulLocalTestSuite.java Fri Dec 21 14:38:04 2007
@@ -16,21 +16,18 @@
*/
package org.apache.openejb.test.stateful;
-import org.apache.openejb.test.stateless.AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests;
-import org.apache.openejb.test.stateless.AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests;
-
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.apache.openejb.test.stateless.AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests;
/**
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- *
* @version $Rev$ $Date$
*/
-public class StatefulLocalTestSuite extends junit.framework.TestCase{
+public class StatefulLocalTestSuite extends junit.framework.TestCase {
- public StatefulLocalTestSuite(String name){
+ public StatefulLocalTestSuite(String name) {
super(name);
}
@@ -64,17 +61,17 @@
suite.addTest(new StatefulRmiIiopTests());
//suite.addTest(new StatefulInterceptorTests());
suite.addTest(new StatefulDefaultInterceptorTests());
-
+
/*///////////////////////////
- * Annotated test clients
- *///////////////////////////
-
+ * Annotated test clients
+ *///////////////////////////
+
// Annotated field injection test clients
suite.addTest(new AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests());
-
+
// Annotated setter injection test clients
suite.addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());
-
+
/* TO DO
suite.addTest(new StatefulEjbContextTests());
suite.addTest(new BMTStatefulEjbContextTests());
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulTestSuite.java Fri Dec 21 14:38:04 2007
@@ -16,20 +16,16 @@
*/
package org.apache.openejb.test.stateful;
-import org.apache.openejb.test.stateless.AnnotatedFieldInjectionStatelessPojoHomeIntfcTests;
-import org.apache.openejb.test.stateless.AnnotatedSetterInjectionStatelessPojoHomeIntfcTests;
-
import junit.framework.Test;
import junit.framework.TestSuite;
/**
- *
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
*/
-public class StatefulTestSuite extends junit.framework.TestCase{
-
- public StatefulTestSuite(String name){
+public class StatefulTestSuite extends junit.framework.TestCase {
+
+ public StatefulTestSuite(String name) {
super(name);
}
@@ -60,17 +56,17 @@
suite.addTest(new StatefulSetterInjectionTests());
// suite.addTest(new StatefulPersistenceContextTests());
suite.addTest(new StatefulRmiIiopTests());
-
+
/*///////////////////////////
- * Annotated test clients
- *///////////////////////////
-
+ * Annotated test clients
+ *///////////////////////////
+
// Annotated field injection test clients
suite.addTest(new AnnotatedFieldInjectionStatefulPojoHomeIntfcTests());
-
+
// Annotated setter injection test clients
suite.addTest(new AnnotatedSetterInjectionStatefulPojoHomeIntfcTests());
-
+
/* TO DO
suite.addTest(new StatefulEjbContextTests());
suite.addTest(new BMTStatefulEjbContextTests());
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessLocalTestSuite.java Fri Dec 21 14:38:04 2007
@@ -65,17 +65,17 @@
suite.addTest(new StatelessRmiIiopTests());
suite.addTest(new MiscEjbTests());
suite.addTest(new StatelessInterceptorTests());
- suite.addTest(new StatelessDefaultInterceptorTests());
+ suite.addTest(new StatelessDefaultInterceptorTests());
/*///////////////////////////
- * Annotated test clients
- *///////////////////////////
-
+ * Annotated test clients
+ *///////////////////////////
+
// Annotated field injection test clients
suite.addTest(new AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests());
-
- // Annotated setter injection test clients
+
+ // Annotated setter injection test clients
suite.addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());
-
+
/* TO DO
suite.addTest(new StatelessEjbContextTests());
suite.addTest(new BMTStatelessEjbContextTests());
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java?rev=606338&r1=606337&r2=606338&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/StatelessTestSuite.java Fri Dec 21 14:38:04 2007
@@ -21,12 +21,11 @@
/**
* @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- *
* @version $Rev$ $Date$
*/
-public class StatelessTestSuite extends junit.framework.TestCase{
-
- public StatelessTestSuite(String name){
+public class StatelessTestSuite extends junit.framework.TestCase {
+
+ public StatelessTestSuite(String name) {
super(name);
}
@@ -41,8 +40,8 @@
suite.addTest(new StatelessPojoHomeIntfcTests());
// EJBHome tests
- suite.addTest(new StatelessEjbHomeTests() );
- suite.addTest(new StatelessPojoEjbHomeTests() );
+ suite.addTest(new StatelessEjbHomeTests());
+ suite.addTest(new StatelessPojoEjbHomeTests());
// EJBObject tests
suite.addTest(new StatelessEjbObjectTests());
@@ -82,17 +81,17 @@
suite.addTest(new StatelessRmiIiopTests());
suite.addTest(new MiscEjbTests());
-
+
/*///////////////////////////
- * Annotated test clients
- *///////////////////////////
-
+ * Annotated test clients
+ *///////////////////////////
+
// Annotated field injection test clients
suite.addTest(new AnnotatedFieldInjectionStatelessPojoHomeIntfcTests());
-
+
// Annotated setter injection test clients
suite.addTest(new AnnotatedSetterInjectionStatelessPojoHomeIntfcTests());
-
+
/* TO DO
suite.addTest(new StatelessEjbContextTests());
suite.addTest(new BMTStatelessEjbContextTests());