User: patriot1burke
  Date: 01/09/03 18:57:01

  Modified:    src/main/org/jboss/test/lock/test Tag: Branch_2_4 Main.java
  Log:
  backmerge
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.3   +127 -69   jbosstest/src/main/org/jboss/test/lock/test/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/lock/test/Main.java,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- Main.java 2001/07/18 06:15:32     1.3.2.2
  +++ Main.java 2001/09/04 01:57:01     1.3.2.3
  @@ -1,69 +1,127 @@
  -package org.jboss.test.lock.test;
  -
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -
  -import org.jboss.test.util.Deploy;
  -
  -public class Main 
  -   extends TestCase
  -{
  -   public Main(String name) {
  -      super(name);
  -   }
  -   
  -   /**
  -    * Setup the test suite.
  -    */
  -   public static Test suite() {
  -      TestSuite suite = new TestSuite();
  -        
  -      // add a test case to deploy our support applications
  -      String filename = "locktest.jar";
  -      suite.addTest(new Deploy.Deployer(filename));
  -
  -      suite.addTest(new TestSuite(Entity_Option_A_Test.class));
  -      suite.addTest(new TestSuite(Entity_Option_B_Test.class));
  -      suite.addTest(new TestSuite(Entity_Option_C_Test.class));
  -      suite.addTest(new TestSuite(Entity_Option_D_Test.class));            
  -
  -      // add a test case to undeploy our support applications
  -      suite.addTest(new Deploy.Undeployer(filename));
  -      
  -      return suite;
  -   }
  -
  -   public static class Entity_Option_A_Test
  -      extends EnterpriseEntityTest
  -   {
  -      public Entity_Option_A_Test(String name) {
  -         super(name, "EnterpriseEntity_A");
  -      }
  -   }
  -
  -   public static class Entity_Option_B_Test
  -      extends EnterpriseEntityTest
  -   {
  -      public Entity_Option_B_Test(String name) {
  -         super(name, "EnterpriseEntity_B");
  -      }
  -   }
  -
  -   public static class Entity_Option_C_Test
  -      extends EnterpriseEntityTest
  -   {
  -      public Entity_Option_C_Test(String name) {
  -         super(name, "EnterpriseEntity_C");
  -      }
  -   }
  -
  -   public static class Entity_Option_D_Test
  -      extends EnterpriseEntityTest
  -   {
  -      public Entity_Option_D_Test(String name) {
  -         super(name, "EnterpriseEntity_D");
  -      }
  -   }
  -}
  -
  +package org.jboss.test.lock.test;
  +
  +import junit.framework.Test;
  +import junit.framework.TestCase;
  +import junit.framework.TestSuite;
  +
  +import org.jboss.test.util.Deploy;
  +
  +public class Main 
  +   extends TestCase
  +{
  +   public Main(String name) {
  +      super(name);
  +   }
  +   
  +   /**
  +    * Setup the test suite.
  +    */
  +   public static Test suite() {
  +      TestSuite suite = new TestSuite();
  +        
  +      // add a test case to deploy our support applications
  +      String filename = "locktest.jar";
  +      suite.addTest(new Deploy.Deployer(filename));
  +
  +      suite.addTest(new TestSuite(Entity_Option_A_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_B_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_C_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_D_Test.class));            
  +
  +      // Test ejb.plugins.lock.QueuedPessimisticEJBLock
  +      suite.addTest(new TestSuite(Entity_Option_A_Queued_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_B_Queued_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_C_Queued_Test.class));
  +      suite.addTest(new TestSuite(Entity_Option_D_Queued_Test.class));            
  +
  +      //      suite.addTest(new TestSuite(Entity_Option_C_Multi_Test.class));
  +
  +      // add a test case to undeploy our support applications
  +      suite.addTest(new Deploy.Undeployer(filename));
  +      
  +      return suite;
  +   }
  +
  +   public static class Entity_Option_A_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_A_Test(String name) {
  +         super(name, "EnterpriseEntity_A");
  +      }
  +   }
  +
  +   public static class Entity_Option_B_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_B_Test(String name) {
  +         super(name, "EnterpriseEntity_B");
  +      }
  +   }
  +
  +   public static class Entity_Option_C_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_C_Test(String name) {
  +         super(name, "EnterpriseEntity_C");
  +      }
  +   }
  +
  +   public static class Entity_Option_D_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_D_Test(String name) {
  +         super(name, "EnterpriseEntity_D");
  +      }
  +   }
  +
  +   public static class Entity_Option_A_Queued_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_A_Queued_Test(String name) {
  +         super(name, "EnterpriseEntity_A_Queued");
  +      }
  +   }
  +
  +   public static class Entity_Option_B_Queued_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_B_Queued_Test(String name) {
  +         super(name, "EnterpriseEntity_B_Queued");
  +      }
  +   }
  +
  +   public static class Entity_Option_C_Queued_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_C_Queued_Test(String name) {
  +         super(name, "EnterpriseEntity_C_Queued");
  +      }
  +   }
  +
  +   public static class Entity_Option_D_Queued_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_D_Queued_Test(String name) {
  +         super(name, "EnterpriseEntity_D_Queued");
  +      }
  +   }
  +
  +
  +   public static class Entity_Option_B_Multi_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_B_Multi_Test(String name) {
  +         super(name, "EnterpriseEntity_B_Multi");
  +      }
  +   }
  +
  +   public static class Entity_Option_C_Multi_Test
  +      extends EnterpriseEntityTest
  +   {
  +      public Entity_Option_C_Multi_Test(String name) {
  +         super(name, "EnterpriseEntity_C_Multi");
  +      }
  +   }
  +
  +}
  +
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to