|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.LogFormatterOutputTest
public class LogFormatterOutputTest
JUnit test to demonstrate the different outputs of
the LogFormatter.
| Constructor Summary | |
|---|---|
LogFormatterOutputTest()
|
|
| Method Summary | |
|---|---|
void |
testDeepNesting()
Test deep nested exception. |
void |
testLogEvent()
Produces a log message from an exception w/ two parameters. |
void |
testLogEventWithImpliedParams()
Produces a log message from an exception w/ two parameters. |
void |
testLogException()
Produces a log message from an exception w/ two parameters and exception as cause. |
void |
testLogNestedThrowable()
Produces a log message from a standard log record with a nested Throwable. |
void |
testLogThrowable()
Produces a log message from a standard log record with a Throwable. |
void |
testNesting()
Test nested exceptions. |
void |
testNestingWithSax()
Test deep nested with SAX exceptions exception. |
void |
testServerExceptionLogWithNestedInternalErrorAndNullPointer()
Test singel nested exception. |
void |
testServerExceptionLogWithNestedNullPointer()
Test singel nested exception. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogFormatterOutputTest()
| Method Detail |
|---|
public void testLogEvent()
public void testLogEventWithImpliedParams()
public void testLogException()
public void testLogThrowable()
public void testLogNestedThrowable()
public void testServerExceptionLogWithNestedNullPointer()
public void testServerExceptionLogWithNestedInternalErrorAndNullPointer()
public void testDeepNesting()
public void testNesting()
public void testNestingWithSax()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||