|
||||||||||
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.apache.log4j.TestLogMF
public class TestLogMF
Unit test for LogMF.
Constructor Summary | |
---|---|
TestLogMF(java.lang.String testName)
Create the test case |
Method Summary | |
---|---|
void |
tearDown()
Post test clean up. |
void |
testClassName()
Test class name when logging through LogMF. |
void |
testDebugArrayArg()
Test LogMF.debug with Object[] argument. |
void |
testDebugBadPattern()
Test LogMF.debug with malformed pattern. |
void |
testDebugBoolean()
Test LogMF.debug with single field pattern with boolean argument. |
void |
testDebugByte()
Test LogMF.debug with single field pattern with byte argument. |
void |
testDebugChar()
Test LogMF.debug with single field pattern with char argument. |
void |
testDebugDate()
Test LogMF.debug with single field pattern with double argument. |
void |
testDebugDouble()
Test LogMF.debug with single field pattern with double argument. |
void |
testDebugFloat()
Test LogMF.debug with single field pattern with float argument. |
void |
testDebugFourArg()
Test LogMF.debug with four arguments. |
void |
testDebugFullPrecisionAndPercent()
|
void |
testDebugInt()
Test LogMF.debug with single field pattern with int argument. |
void |
testDebugLong()
Test LogMF.debug with single field pattern with long argument. |
void |
testDebugMissingArg()
Test LogMF.debug with missing argument. |
void |
testDebugNoArg()
Test LogMF.debug with no-field pattern. |
void |
testDebugNull()
Test LogMF.debug with single field pattern with null argument. |
void |
testDebugNullArrayArg()
Test LogMF.debug with null Object[] argument. |
void |
testDebugNullPattern()
Test LogMF.debug with null pattern. |
void |
testDebugPercent()
|
void |
testDebugQuoted()
|
void |
testDebugShort()
Test LogMF.debug with single field pattern with short argument. |
void |
testDebugString()
Test LogMF.debug with single field pattern with string argument. |
void |
testDebugThreeArg()
Test LogMF.debug with three arguments. |
void |
testDebugTwoArg()
Test LogMF.debug with two arguments. |
void |
testInfo10ParamBrace9()
Test LogMF.info with a pattern containing {9} and two arguments. |
void |
testInfo1ParamBrace9()
Test LogMF.info with a pattern containing {9} and one argument. |
void |
testInfo1ParamBraceSlashColon()
Test LogMF.info with indexes just outside of 0 to 9. |
void |
testInfo2ParamBrace9()
Test LogMF.info with a pattern containing {9} and two arguments. |
void |
testInfoArrayArg()
Test LogMF.info with Object[] argument. |
void |
testInfoBadPattern()
Test LogMF.info with malformed pattern. |
void |
testInfoBoolean()
Test LogMF.info with single field pattern with boolean argument. |
void |
testInfoByte()
Test LogMF.info with single field pattern with byte argument. |
void |
testInfoChar()
Test LogMF.info with single field pattern with char argument. |
void |
testInfoDouble()
Test LogMF.info with single field pattern with double argument. |
void |
testInfoFloat()
Test LogMF.info with single field pattern with float argument. |
void |
testInfoFourArg()
Test LogMF.info with four arguments. |
void |
testInfoInt()
Test LogMF.info with single field pattern with int argument. |
void |
testInfoLong()
Test LogMF.info with single field pattern with long argument. |
void |
testInfoMissingArg()
Test LogMF.info with missing argument. |
void |
testInfoNoArg()
Test LogMF.info with no-field pattern. |
void |
testInfoNull()
Test LogMF.info with single field pattern with null argument. |
void |
testInfoNullPattern()
Test LogMF.info with null pattern. |
void |
testInfoShort()
Test LogMF.info with single field pattern with short argument. |
void |
testInfoString()
Test LogMF.info with single field pattern with string argument. |
void |
testInfoThreeArg()
Test LogMF.info with three arguments. |
void |
testInfoTwoArg()
Test LogMF.info with two arguments. |
void |
testLogArrayArg()
Test LogMF.log with Object[] argument. |
void |
testLogBadPattern()
Test LogMF.log with malformed pattern. |
void |
testLogBoolean()
Test LogMF.log with single field pattern with boolean argument. |
void |
testLogByte()
Test LogMF.log with single field pattern with byte argument. |
void |
testLogChar()
Test LogMF.log with single field pattern with char argument. |
void |
testLogDouble()
Test LogMF.log with single field pattern with double argument. |
void |
testLogFloat()
Test LogMF.log with single field pattern with float argument. |
void |
testLogFourArg()
Test LogMF.log with four arguments. |
void |
testLogInt()
Test LogMF.log with single field pattern with int argument. |
void |
testLogLong()
Test LogMF.log with single field pattern with long argument. |
void |
testLogMissingArg()
Test LogMF.log with missing argument. |
void |
testLogNoArg()
Test LogMF.log with no-field pattern. |
void |
testLogNull()
Test LogMF.log with single field pattern with null argument. |
void |
testLogNullPattern()
Test LogMF.log with null pattern. |
void |
testLogrbArrayArg()
Test LogMF.logrb with Object[] argument. |
void |
testLogrbBadPattern()
Test LogMF.logrb with malformed pattern. |
void |
testLogrbBoolean()
Test LogMF.logrb with single field pattern with boolean argument. |
void |
testLogrbByte()
Test LogMF.logrb with single field pattern with byte argument. |
void |
testLogrbChar()
Test LogMF.logrb with single field pattern with char argument. |
void |
testLogrbDouble()
Test LogMF.logrb with single field pattern with double argument. |
void |
testLogrbFloat()
Test LogMF.logrb with single field pattern with float argument. |
void |
testLogrbFourArg()
Test LogMF.logrb with four arguments. |
void |
testLogrbInt()
Test LogMF.logrb with single field pattern with int argument. |
void |
testLogrbLong()
Test LogMF.logrb with single field pattern with long argument. |
void |
testLogrbMissingArg()
Test LogMF.logrb with missing argument. |
void |
testLogrbNoArg()
Test LogMF.logrb with no-field pattern. |
void |
testLogrbNull()
Test LogMF.logrb with single field pattern with null argument. |
void |
testLogrbNullBundle()
Test LogMF.logrb with null bundle name. |
void |
testLogrbNullKey()
Test LogMF.logrb with null key. |
void |
testLogrbShort()
Test LogMF.logrb with single field pattern with short argument. |
void |
testLogrbString()
Test LogMF.logrb with single field pattern with string argument. |
void |
testLogrbThreeArg()
Test LogMF.logrb with three arguments. |
void |
testLogrbTwoArg()
Test LogMF.logrb with two arguments. |
void |
testLogShort()
Test LogMF.log with single field pattern with short argument. |
void |
testLogString()
Test LogMF.log with single field pattern with string argument. |
void |
testLogThreeArg()
Test LogMF.log with three arguments. |
void |
testLogTwoArg()
Test LogMF.log with two arguments. |
void |
testTraceArrayArg()
Test LogMF.trace with Object[] argument. |
void |
testTraceBadPattern()
Test LogMF.trace with malformed pattern. |
void |
testTraceBoolean()
Test LogMF.trace with single field pattern with boolean argument. |
void |
testTraceByte()
Test LogMF.trace with single field pattern with byte argument. |
void |
testTraceChar()
Test LogMF.trace with single field pattern with char argument. |
void |
testTraceDouble()
Test LogMF.trace with single field pattern with double argument. |
void |
testTraceFloat()
Test LogMF.trace with single field pattern with float argument. |
void |
testTraceFourArg()
Test LogMF.trace with four arguments. |
void |
testTraceInt()
Test LogMF.trace with single field pattern with int argument. |
void |
testTraceLong()
Test LogMF.trace with single field pattern with long argument. |
void |
testTraceMissingArg()
Test LogMF.trace with missing argument. |
void |
testTraceNoArg()
Test LogMF.trace with no-field pattern. |
void |
testTraceNull()
Test LogMF.trace with single field pattern with null argument. |
void |
testTraceNullArrayArg()
Test LogMF.trace with null Object[] argument. |
void |
testTraceNullPattern()
Test LogMF.trace with null pattern. |
void |
testTraceShort()
Test LogMF.trace with single field pattern with short argument. |
void |
testTraceString()
Test LogMF.trace with single field pattern with string argument. |
void |
testTraceThreeArg()
Test LogMF.trace with three arguments. |
void |
testTraceTwoArg()
Test LogMF.trace with two arguments. |
void |
testWarnArrayArg()
Test LogMF.warn with Object[] argument. |
void |
testWarnBadPattern()
Test LogMF.warn with malformed pattern. |
void |
testWarnBoolean()
Test LogMF.warn with single field pattern with boolean argument. |
void |
testWarnByte()
Test LogMF.warn with single field pattern with byte argument. |
void |
testWarnChar()
Test LogMF.warn with single field pattern with char argument. |
void |
testWarnDouble()
Test LogMF.debug with single field pattern with double argument. |
void |
testWarnFloat()
Test LogMF.warn with single field pattern with float argument. |
void |
testWarnFourArg()
Test LogMF.debug with four arguments. |
void |
testWarnInt()
Test LogMF.warn with single field pattern with int argument. |
void |
testWarnLong()
Test LogMF.warn with single field pattern with long argument. |
void |
testWarnMissingArg()
Test LogMF.warn with missing argument. |
void |
testWarnNoArg()
Test LogMF.warn with no-field pattern. |
void |
testWarnNull()
Test LogMF.warn with single field pattern with null argument. |
void |
testWarnNullPattern()
Test LogMF.warn with null pattern. |
void |
testWarnShort()
Test LogMF.warn with single field pattern with short argument. |
void |
testWarnString()
Test LogMF.warn with single field pattern with string argument. |
void |
testWarnThreeArg()
Test LogMF.warn with three arguments. |
void |
testWarnTwoArg()
Test LogMF.warn with two arguments. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestLogMF(java.lang.String testName)
testName
- name of the test caseMethod Detail |
---|
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testClassName()
public void testTraceNullPattern()
public void testTraceNoArg()
public void testTraceBadPattern()
public void testTraceMissingArg()
public void testTraceString()
public void testTraceNull()
public void testTraceInt()
public void testTraceByte()
public void testTraceShort()
public void testTraceLong()
public void testTraceChar()
public void testTraceBoolean()
public void testTraceFloat()
public void testTraceDouble()
public void testTraceTwoArg()
public void testTraceThreeArg()
public void testTraceFourArg()
public void testTraceArrayArg()
public void testTraceNullArrayArg()
public void testDebugNullPattern()
public void testDebugNoArg()
public void testDebugBadPattern()
public void testDebugMissingArg()
public void testDebugString()
public void testDebugNull()
public void testDebugInt()
public void testDebugByte()
public void testDebugShort()
public void testDebugLong()
public void testDebugChar()
public void testDebugBoolean()
public void testDebugFloat()
public void testDebugDouble()
public void testDebugTwoArg()
public void testDebugThreeArg()
public void testDebugFourArg()
public void testDebugArrayArg()
public void testDebugDate()
public void testDebugNullArrayArg()
public void testDebugPercent()
public void testDebugFullPrecisionAndPercent()
public void testDebugQuoted()
public void testInfoNullPattern()
public void testInfoNoArg()
public void testInfoBadPattern()
public void testInfoMissingArg()
public void testInfoString()
public void testInfoNull()
public void testInfoInt()
public void testInfoByte()
public void testInfoShort()
public void testInfoLong()
public void testInfoChar()
public void testInfoBoolean()
public void testInfoFloat()
public void testInfoDouble()
public void testInfoTwoArg()
public void testInfoThreeArg()
public void testInfoFourArg()
public void testInfoArrayArg()
public void testWarnNullPattern()
public void testWarnNoArg()
public void testWarnBadPattern()
public void testWarnMissingArg()
public void testWarnString()
public void testWarnNull()
public void testWarnInt()
public void testWarnByte()
public void testWarnShort()
public void testWarnLong()
public void testWarnChar()
public void testWarnBoolean()
public void testWarnFloat()
public void testWarnDouble()
public void testWarnTwoArg()
public void testWarnThreeArg()
public void testWarnFourArg()
public void testWarnArrayArg()
public void testLogNullPattern()
public void testLogNoArg()
public void testLogBadPattern()
public void testLogMissingArg()
public void testLogString()
public void testLogNull()
public void testLogInt()
public void testLogByte()
public void testLogShort()
public void testLogLong()
public void testLogChar()
public void testLogBoolean()
public void testLogFloat()
public void testLogDouble()
public void testLogTwoArg()
public void testLogThreeArg()
public void testLogFourArg()
public void testLogArrayArg()
public void testLogrbNullBundle()
public void testLogrbNullKey()
public void testLogrbNoArg()
public void testLogrbBadPattern()
public void testLogrbMissingArg()
public void testLogrbString()
public void testLogrbNull()
public void testLogrbInt()
public void testLogrbByte()
public void testLogrbShort()
public void testLogrbLong()
public void testLogrbChar()
public void testLogrbBoolean()
public void testLogrbFloat()
public void testLogrbDouble()
public void testLogrbTwoArg()
public void testLogrbThreeArg()
public void testLogrbFourArg()
public void testLogrbArrayArg()
public void testInfo1ParamBrace9()
public void testInfo2ParamBrace9()
public void testInfo10ParamBrace9()
public void testInfo1ParamBraceSlashColon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.