Setup for the test. This creates the ComponentRegistry instance
and other objects needed for the tests.
throws: Exception - when set up fails for any reason.
Tests getSharedLibrary with a good result.
throws: Exception - if an unexpected error occurs.
testGetSharedLibraryBadInput
public void testGetSharedLibraryBadInput() throws Exception(Code)
Tests getSharedLibrary with a null componentId parameter. An exception
is expected.
throws: Exception - if an unexpected error occurs.
testIsComponentRegisteredBadInput
public void testIsComponentRegisteredBadInput() throws Exception(Code)
Tests isComponentRegistered with a null component ID parameter. An
exception is expected.
throws: Exception - if an unexpected error occurs.
testIsComponentRegisteredGood
public void testIsComponentRegisteredGood() throws Exception(Code)
Tests isComponentRegistered with a good result.
throws: Exception - if an unexpected error occurs.
testIsSharedLibraryRegisteredBadInput
public void testIsSharedLibraryRegisteredBadInput() throws Exception(Code)
Tests isSharedLibraryRegistered with a null shared library name
parameter. An exception is expected.
throws: Exception - if an unexpected error occurs.
testIsSharedLibraryRegisteredGood
public void testIsSharedLibraryRegisteredGood() throws Exception(Code)
Tests isSharedLibraryRegistered with a good result.
throws: Exception - if an unexpected error occurs.
testRegisterComponentBadDuplicate
public void testRegisterComponentBadDuplicate() throws Exception(Code)
Tests registerComponent with a duplicate Component. An exception is
expected.
throws: Exception - if an unexpected error occurs.
testRegisterComponentBadInput
public void testRegisterComponentBadInput() throws Exception(Code)
Tests registerComponent with a null component parameter. An exception
is expected.
throws: Exception - if an unexpected error occurs.
testRegisterComponentGood
public void testRegisterComponentGood() throws Exception(Code)
Tests registerComponent with a good result.
throws: Exception - if an unexpected error occurs.
testRegisterServiceUnitBadDuplicate
public void testRegisterServiceUnitBadDuplicate() throws Exception(Code)
Tests registerServiceUnit with a duplicate Service Unit. An exception is
expected.
throws: Exception - if an unexpected error occurs.
testRegisterServiceUnitBadInput
public void testRegisterServiceUnitBadInput() throws Exception(Code)
Tests registerServiceUnit with a null input parameter. An exception
is expected.
throws: Exception - if an unexpected error occurs.
testRegisterServiceUnitBadNotFound
public void testRegisterServiceUnitBadNotFound() throws Exception(Code)
Tests registerServiceUnit with a nonexistent Component. An exception is
expected.
throws: Exception - if an unexpected error occurs.
testRegisterServiceUnitGood
public void testRegisterServiceUnitGood() throws Exception(Code)
Tests registerServiceUnit with a good result.
throws: Exception - if an unexpected error occurs.
testRegisterSharedLibraryBadDuplicate
public void testRegisterSharedLibraryBadDuplicate() throws Exception(Code)
Tests registerSharedLibrary with a duplicate SharedLibrary. An exception
is expected.
throws: Exception - if an unexpected error occurs.
testRegisterSharedLibraryBadInput
public void testRegisterSharedLibraryBadInput() throws Exception(Code)
Tests registerSharedLibrary with a null SharedLibrary parameter. An
exception is expected.
throws: Exception - if an unexpected error occurs.
testRegisterSharedLibraryGood
public void testRegisterSharedLibraryGood() throws Exception(Code)
Tests registerSharedLibrary with a good result.
throws: Exception - if an unexpected error occurs.
testUnregisterComponentBadInput
public void testUnregisterComponentBadInput() throws Exception(Code)
Tests unregisterComponent with a null component ID parameter. An
exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterComponentBadNotRegistered
public void testUnregisterComponentBadNotRegistered() throws Exception(Code)
Tests unregisterComponent with a component ID that is not registered.
An exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterComponentGood
public void testUnregisterComponentGood() throws Exception(Code)
Tests unregisterComponent with a good result.
throws: Exception - if an unexpected error occurs.
testUnregisterServiceUnitBadInput
public void testUnregisterServiceUnitBadInput() throws Exception(Code)
Tests unregisterServiceUnit with null parameters. An
exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterServiceUnitBadNotFound
public void testUnregisterServiceUnitBadNotFound() throws Exception(Code)
Tests unregisterServiceUnit with a Component name that does not exist.
An exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterServiceUnitBadNotRegistered
public void testUnregisterServiceUnitBadNotRegistered() throws Exception(Code)
Tests unregisterServiceUnit with a Service Unit name that is not
registered.
An exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterServiceUnitGood
public void testUnregisterServiceUnitGood() throws Exception(Code)
Tests unregisterServiceUnit with a good result.
throws: Exception - if an unexpected error occurs.
testUnregisterSharedLibraryBadInput
public void testUnregisterSharedLibraryBadInput() throws Exception(Code)
Tests unregisterSharedLibrary with a null shared library name parameter.
An exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterSharedLibraryBadNotRegistered
public void testUnregisterSharedLibraryBadNotRegistered() throws Exception(Code)
Tests unregisterSharedLibrary with a shared library name that is not
registered. An exception is expected.
throws: Exception - if an unexpected error occurs.
testUnregisterSharedLibraryGood
public void testUnregisterSharedLibraryGood() throws Exception(Code)
Tests unregisterSharedLibrary with a good result.
throws: Exception - if an unexpected error occurs.
testgetStatusBadNotFound
public void testgetStatusBadNotFound() throws Exception(Code)
Tests getStatus with a component ID that is not registered. An exception
is expected.
throws: Exception - if an unexpected error occurs.