| log4j.TestCastorAppender
TestCastorAppender | final public class TestCastorAppender extends TestCase (Code) | | Test for CastorAppender to showcase its usage.
author: Holger West |
Method Summary | |
public void | setUp() | public static Test | suite() Initialize LOG4J logging with example configuration and create JUNIT test suite. | public void | testAppender() Test CastorAppender for LOG4J. |
TestCastorAppender | public TestCastorAppender(String name)(Code) | | Constructs a new TestCase with the given name.
Parameters: name - The name for the test. |
suite | public static Test suite()(Code) | | Initialize LOG4J logging with example configuration and create JUNIT test suite.
JUNIT test suite. |
testAppender | public void testAppender() throws Exception(Code) | | Test CastorAppender for LOG4J.
throws: Exception - If anything went wrong in the test. |
|
|