Class Unknown2RemoteIntfcTests

All Implemented Interfaces:
junit.framework.Test

public class Unknown2RemoteIntfcTests extends UnknownCmp2TestClient
[5] Should be run as the fifth test suite of the BasicCmpTestClients
  • Constructor Details

    • Unknown2RemoteIntfcTests

      public Unknown2RemoteIntfcTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: Cmp2TestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class Cmp2TestClient
      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()
    • BUG_test05_invokeAfterSystemException

      public void BUG_test05_invokeAfterSystemException()
      After a system exception the intance should be garbage collected and the remote reference should be invalidated. The Remote Server fails this one, that should be fixed.
    • tearDown

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