testGetBootstrapInstanceBadClassInvalid() Test the getBootstrapInstance with a class that does not implement
the required interfaces to cause a class loading failure.
testGetLifeCycleInstanceBadClassInvalid() Test the getLifeCycleInstance with a class that does not implement
the required interfaces to cause a class loading failure.
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.
Test the addServiceUnit/getServiceUnit methods.
throws: Exception - if an unexpected error occurs.
testAddServiceUnitBadDuplicate
public void testAddServiceUnitBadDuplicate() throws Exception(Code)
Test the addServiceUnit method with a duplicate Service Unit name.
An exception is expected.
throws: Exception - if an unexpected error occurs.
testAddServiceUnitBadNull
public void testAddServiceUnitBadNull() throws Exception(Code)
Test the addServiceUnit method with a null Service Unit. An exception
is expected.
throws: Exception - if an unexpected error occurs.
testGetBootstrapInstanceBadClassInvalid
public void testGetBootstrapInstanceBadClassInvalid() throws Exception(Code)
Test the getBootstrapInstance with a class that does not implement
the required interfaces to cause a class loading failure.
throws: Exception - if an unexpected error occurs.
testGetBootstrapInstanceBadNotFound
public void testGetBootstrapInstanceBadNotFound() throws Exception(Code)
Test the getBootstrapInstance with a bad class name to cause a
class loading failure.
throws: Exception - if an unexpected error occurs.
testGetClearBootstrapInstance
public void testGetClearBootstrapInstance() throws Exception(Code)
Test the get and clear methods for the Bootstrap Instance.
throws: Exception - if an unexpected error occurs.
testGetClearLifeCycleInstance
public void testGetClearLifeCycleInstance() throws Exception(Code)
Test the getLifeCycleInstance and clearLifeCycleInstance methods.
throws: Exception - if an unexpected error occurs.
testGetComponentClassPathAsString
public void testGetComponentClassPathAsString() throws Exception(Code)
Test the getComponentClassPathAsString method.
throws: Exception - if an unexpected error occurs.
testGetComponentInstance
public void testGetComponentInstance() throws Exception(Code)
Test the getComponentInstance method.
throws: Exception - if an unexpected error occurs.
testGetComponentTypeAsString
public void testGetComponentTypeAsString() throws Exception(Code)
Test the getComponentTypeAsString method.
throws: Exception - if an unexpected error occurs.
testGetLifeCycleInstanceBadClassInvalid
public void testGetLifeCycleInstanceBadClassInvalid() throws Exception(Code)
Test the getLifeCycleInstance with a class that does not implement
the required interfaces to cause a class loading failure.
throws: Exception - if an unexpected error occurs.
testGetLifeCycleInstanceBadNotFound
public void testGetLifeCycleInstanceBadNotFound() throws Exception(Code)
Test the getLifeCycleInstance with a bad classpath to cause a
class loading failure.
throws: Exception - if an unexpected error occurs.