Setup for the test. This creates the ComponentContext instance
and other objects needed for the tests.
throws: Exception - when set up fails for any reason.
Test the get method for component loggers.
throws: Exception - if an unexpected error occurs.
testGetLoggerBadDifferentResource
public void testGetLoggerBadDifferentResource() throws Exception(Code)
Test the getLogger method with a failure due to an existing logger
using a different resource bundle. An exception is expected.
throws: Exception - if an unexpected error occurs.
testGetLoggerBadMissingResource
public void testGetLoggerBadMissingResource() throws Exception(Code)
Test the getLogger method with a failure due to a missing resource
bundle. An exception is expected.
throws: Exception - if an unexpected error occurs.
testGetLoggerBadNullSuffix
public void testGetLoggerBadNullSuffix() throws Exception(Code)
Test the getLogger method with a failure due to an invalid "suffix"
argument.
throws: Exception - if an unexpected error occurs.
testGetLoggerCheckParent
public void testGetLoggerCheckParent() throws Exception(Code)
Test the get method for component loggers and make sure the parents
are set properly.
throws: Exception - if an unexpected error occurs.
testGetLoggerDefaultMain
public void testGetLoggerDefaultMain() throws Exception(Code)
Test the get method for component loggers with a default main logger.
throws: Exception - if an unexpected error occurs.
testGetLoggerWithResourceBundle
public void testGetLoggerWithResourceBundle() throws Exception(Code)
Test the get method for component loggers with resource bundles.
throws: Exception - if an unexpected error occurs.