FileDocCategorySizeDatePackage
BMTUnitTestCase.javaAPI DocJBoss 4.2.12773Fri Jul 13 20:53:30 BST 2007org.jboss.ejb3.test.bmt.unit

BMTUnitTestCase

public class BMTUnitTestCase extends org.jboss.test.JBossTestCase
Sample client for the jboss container.
author
Bill Burke

Fields Summary
Logger
log
static boolean
deployed
static int
test
Constructors Summary
public BMTUnitTestCase(String name)


     
   

      super(name);

   
Methods Summary
public static junit.framework.Testsuite()

      return getDeploySetup(BMTUnitTestCase.class, "bmt-test.jar");
   
public voidtestDeploymentDescriptorStateful()

      DeploymentDescriptorTesterRemote tester = (DeploymentDescriptorTesterRemote)getInitialContext().lookup("DeploymentDescriptorTester/remote");
      tester.testStatefulWithoutTx();
      tester.testStatefulWithTx();
   
public voidtestDeploymentDescriptorStateless()

      DeploymentDescriptorTesterRemote tester = (DeploymentDescriptorTesterRemote)getInitialContext().lookup("DeploymentDescriptorTester/remote");
      tester.testStatelessWithoutTx();
      tester.testStatelessWithTx();
   
public voidtestStateful()

      TesterRemote tester = (TesterRemote)getInitialContext().lookup("TesterBean/remote");
      tester.testStatefulWithoutTx();
      tester.testStatefulWithTx();
   
public voidtestStateless()

      TesterRemote tester = (TesterRemote)getInitialContext().lookup("TesterBean/remote");
      tester.testStatelessWithoutTx();
      tester.testStatelessWithTx();