|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.resilientedge.util.test.BaseTestCase
|
+--com.resilientedge.util.logger.console.ZConsoleFormatterTest
Unit Test for the Console Formatter Class
| Constructor Summary | |
ZConsoleFormatterTest(java.lang.String name)
|
|
| Method Summary | |
void |
DISABLED_testFormatDateAndTime()
Tests the formatting of date and time. |
void |
testConstruction()
Test Construction of ConsoleFormatter in verbose and non-Verbose modes. |
void |
testFormatClassName()
Tests the formatting of Class Name |
void |
testFormatException()
Tests the formatting of a logRecord's exception stack-trace. |
void |
testFormatWithoutReplacements()
This method calls the LocalizeAndFormat method and insures that a message is created from the logRecord's raw message. |
void |
testFormatWithReplacements()
Tests the text substitution. |
void |
testGetAndSetLocale()
Test Locale Mutators |
void |
testsFormatLevel()
Tests the formatting of a logRecord's Level |
void |
testsFormatMessage()
Tests the formatting of a logRecord's message |
void |
testsFormatMethodName()
Tests the formatting of a logRecord's method name |
void |
testsFormatThreadName()
Tests the formatting of a logRecord's method Thread Name |
void |
testsFormatTopic()
Tests the formatting of a logRecord's Topic |
| Methods inherited from class com.resilientedge.util.test.BaseTestCase |
log, lookupConfig, lookupConfig |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ZConsoleFormatterTest(java.lang.String name)
name - | Method Detail |
public void testConstruction()
throws java.lang.Exception
java.lang.Exception -
public void testGetAndSetLocale()
throws java.lang.Exception
java.lang.Exception -
public void testFormatWithoutReplacements()
throws java.lang.Exception
java.lang.Exception -
public void testFormatWithReplacements()
throws java.lang.Exception
java.lang.Exception -
public void testFormatClassName()
throws java.lang.Exception
java.lang.Exception -
public void DISABLED_testFormatDateAndTime()
throws java.lang.Exception
java.lang.Exception -
public void testFormatException()
throws java.lang.Exception
java.lang.Exception -
public void testsFormatLevel()
throws java.lang.Exception
java.lang.Exception -
public void testsFormatMessage()
throws java.lang.Exception
java.lang.Exception -
public void testsFormatMethodName()
throws java.lang.Exception
java.lang.Exception -
public void testsFormatThreadName()
throws java.lang.Exception
java.lang.Exception -
public void testsFormatTopic()
throws java.lang.Exception
java.lang.Exception -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||