| com.sun.jbi.framework.TestServiceUnitOperation
TestServiceUnitOperation | public class TestServiceUnitOperation extends junit.framework.TestCase (Code) | | Tests for the ServiceUnitOperation.
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | TestServiceUnitOperation(String aTestName) The constructor for this testcase, forwards the test name to
the jUnit TestCase base class. |
TestServiceUnitOperation | public TestServiceUnitOperation(String aTestName)(Code) | | The constructor for this testcase, forwards the test name to
the jUnit TestCase base class.
Parameters: aTestName - String with the name of this test. |
setUp | public void setUp() throws Exception(Code) | | Setup for the test. This creates the EnvironmentContext instance
and other objects needed for the tests.
throws: Exception - when set up fails for any reason. |
tearDown | public void tearDown() throws Exception(Code) | | Cleanup for the test.
throws: Exception - when tearDown fails for any reason. |
testConstructorBadOperation | public void testConstructorBadOperation() throws Exception(Code) | | Tests constructor with bad operation parameter. An exception is expected.
throws: Exception - if an unexpected error occurs. |
testConstructorNullSuManager | public void testConstructorNullSuManager() throws Exception(Code) | | Tests constructor with null Service Unit manager parameter. An exception
is expected.
throws: Exception - if an unexpected error occurs. |
testProcessDeploy | public void testProcessDeploy() throws Exception, Throwable(Code) | | Tests process method calling deploy on the ServiceUnitManager.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
testProcessInit | public void testProcessInit() throws Exception, Throwable(Code) | | Tests process method calling init on the ServiceUnitManager. The test
binding does no special processing, so if no exception occurs, the
test was successful.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
testProcessShutDown | public void testProcessShutDown() throws Exception, Throwable(Code) | | Tests process method calling shutDown on the ServiceUnitManager. The test
binding does no special processing, so if no exception occurs, the
test was successful.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
testProcessStart | public void testProcessStart() throws Exception, Throwable(Code) | | Tests process method calling start on the ServiceUnitManager. The test
binding does no special processing, so if no exception occurs, the
test was successful.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
testProcessStop | public void testProcessStop() throws Exception, Throwable(Code) | | Tests process method calling stop on the ServiceUnitManager. The test
binding does no special processing, so if no exception occurs, the
test was successful.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
testProcessUndeploy | public void testProcessUndeploy() throws Exception, Throwable(Code) | | Tests undeploy with a good result.
throws: Exception - if an unexpected error occurs. throws: Throwable - if an unexpected error occurs. |
|
|