Class StatefulRemoteBusinessIntfcTests

All Implemented Interfaces:
junit.framework.Test

public class StatefulRemoteBusinessIntfcTests extends StatefulTestClient
  • Constructor Details

    • StatefulRemoteBusinessIntfcTests

      public StatefulRemoteBusinessIntfcTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: StatefulTestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class StatefulTestClient
      Throws:
      Exception
    • test00_lookupBusinessInterface

      public void test00_lookupBusinessInterface() throws Exception
      Throws:
      Exception
    • test01_businessMethod

      public void test01_businessMethod()
    • test02_throwApplicationException

      public void test02_throwApplicationException()
      Throw an application exception and make sure the exception reaches the bean nicely.
    • test03_invokeAfterApplicationException

      public void test03_invokeAfterApplicationException()
      After an application exception we should still be able to use our bean
    • _test04_throwSystemException

      public void _test04_throwSystemException()
    • TODO_test05_invokeAfterSystemException

      public void TODO_test05_invokeAfterSystemException()
      After a system exception the intance should be garbage collected and the remote reference should be invalidated. This one seems to fail. we should double-check the spec on this.
    • test06_testRemove

      public void test06_testRemove()
    • tearDown

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class NumberedTestCase
      Throws:
      Exception