|
||||||||||
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.TestLogSF
public class TestLogSF
Unit test for LogSF.
Constructor Summary | |
---|---|
TestLogSF(java.lang.String testName)
Create the test case |
Method Summary | |
---|---|
void |
tearDown()
Post test clean up. |
void |
testClassName()
Test class name when logging through LogSF. |
void |
testDebugArrayArg()
Test LogSF.debug with Object[] argument. |
void |
testDebugBadPattern()
Test LogSF.debug with malformed pattern. |
void |
testDebugBoolean()
Test LogSF.debug with single field pattern with boolean argument. |
void |
testDebugByte()
Test LogSF.debug with single field pattern with byte argument. |
void |
testDebugChar()
Test LogSF.debug with single field pattern with char argument. |
void |
testDebugDouble()
Test LogSF.debug with single field pattern with double argument. |
void |
testDebugFloat()
Test LogSF.debug with single field pattern with float argument. |
void |
testDebugFourArg()
Test LogSF.debug with four arguments. |
void |
testDebugInt()
Test LogSF.debug with single field pattern with int argument. |
void |
testDebugLong()
Test LogSF.debug with single field pattern with long argument. |
void |
testDebugMissingArg()
Test LogSF.debug with missing argument. |
void |
testDebugNoArg()
Test LogSF.debug with no-field pattern. |
void |
testDebugNull()
Test LogSF.debug with single field pattern with null argument. |
void |
testDebugNullArrayArg()
Test LogSF.debug with null Object[] argument. |
void |
testDebugNullPattern()
Test LogSF.debug with null pattern. |
void |
testDebugShort()
Test LogSF.debug with single field pattern with short argument. |
void |
testDebugString()
Test LogSF.debug with single field pattern with string argument. |
void |
testDebugThreeArg()
Test LogSF.debug with three arguments. |
void |
testDebugTwoArg()
Test LogSF.debug with two arguments. |
void |
testEscapeOneParam()
Test \\{ escape sequence when only one parameter is present. |
void |
testEscapeTwoParam()
Test \\{ escape sequence when more than one parameter is present. |
void |
testInfoArrayArg()
Test LogSF.info with Object[] argument. |
void |
testInfoBadPattern()
Test LogSF.info with malformed pattern. |
void |
testInfoBoolean()
Test LogSF.info with single field pattern with boolean argument. |
void |
testInfoByte()
Test LogSF.info with single field pattern with byte argument. |
void |
testInfoChar()
Test LogSF.info with single field pattern with char argument. |
void |
testInfoDouble()
Test LogSF.info with single field pattern with double argument. |
void |
testInfoFloat()
Test LogSF.info with single field pattern with float argument. |
void |
testInfoInt()
Test LogSF.info with single field pattern with int argument. |
void |
testInfoLong()
Test LogSF.info with single field pattern with long argument. |
void |
testInfoMissingArg()
Test LogSF.info with missing argument. |
void |
testInfoNoArg()
Test LogSF.info with no-field pattern. |
void |
testInfoNull()
Test LogSF.info with single field pattern with null argument. |
void |
testInfoNullPattern()
Test LogSF.info with null pattern. |
void |
testInfoShort()
Test LogSF.info with single field pattern with short argument. |
void |
testInfoString()
Test LogSF.info with single field pattern with string argument. |
void |
testInfoThreeArg()
Test LogSF.info with three arguments. |
void |
testInfoTwoArg()
Test LogSF.info with two arguments. |
void |
testLogArrayArg()
Test LogSF.log with Object[] argument. |
void |
testLogBadPattern()
Test LogSF.log with malformed pattern. |
void |
testLogBoolean()
Test LogSF.log with single field pattern with boolean argument. |
void |
testLogByte()
Test LogSF.log with single field pattern with byte argument. |
void |
testLogChar()
Test LogSF.log with single field pattern with char argument. |
void |
testLogDouble()
Test LogSF.log with single field pattern with double argument. |
void |
testLogFloat()
Test LogSF.log with single field pattern with float argument. |
void |
testLogFourArg()
Test LogSF.log with four arguments. |
void |
testLogInt()
Test LogSF.log with single field pattern with int argument. |
void |
testLogLong()
Test LogSF.log with single field pattern with long argument. |
void |
testLogMissingArg()
Test LogSF.log with missing argument. |
void |
testLogNoArg()
Test LogSF.log with no-field pattern. |
void |
testLogNull()
Test LogSF.log with single field pattern with null argument. |
void |
testLogNullPattern()
Test LogSF.log with null pattern. |
void |
testLogrbArrayArg()
Test LogSF.logrb with Object[] argument. |
void |
testLogrbBadPattern()
Test LogSF.logrb with malformed pattern. |
void |
testLogrbBoolean()
Test LogSF.logrb with single field pattern with boolean argument. |
void |
testLogrbByte()
Test LogSF.logrb with single field pattern with byte argument. |
void |
testLogrbChar()
Test LogSF.logrb with single field pattern with char argument. |
void |
testLogrbDouble()
Test LogSF.logrb with single field pattern with double argument. |
void |
testLogrbFloat()
Test LogSF.logrb with single field pattern with float argument. |
void |
testLogrbFourArg()
Test LogSF.logrb with four arguments. |
void |
testLogrbInt()
Test LogSF.logrb with single field pattern with int argument. |
void |
testLogrbLong()
Test LogSF.logrb with single field pattern with long argument. |
void |
testLogrbMissingArg()
Test LogSF.logrb with missing argument. |
void |
testLogrbNoArg()
Test LogSF.logrb with no-field pattern. |
void |
testLogrbNull()
Test LogSF.logrb with single field pattern with null argument. |
void |
testLogrbNullBundle()
Test LogSF.logrb with null bundle name. |
void |
testLogrbNullKey()
Test LogSF.logrb with null key. |
void |
testLogrbShort()
Test LogSF.logrb with single field pattern with short argument. |
void |
testLogrbString()
Test LogSF.logrb with single field pattern with string argument. |
void |
testLogrbThreeArg()
Test LogSF.logrb with three arguments. |
void |
testLogrbTwoArg()
Test LogSF.logrb with two arguments. |
void |
testLogShort()
Test LogSF.log with single field pattern with short argument. |
void |
testLogString()
Test LogSF.log with single field pattern with string argument. |
void |
testLogThreeArg()
Test LogSF.log with three arguments. |
void |
testLogTwoArg()
Test LogSF.log with two arguments. |
void |
testTraceArrayArg()
Test LogSF.trace with Object[] argument. |
void |
testTraceBadPattern()
Test LogSF.trace with malformed pattern. |
void |
testTraceBoolean()
Test LogSF.trace with single field pattern with boolean argument. |
void |
testTraceByte()
Test LogSF.trace with single field pattern with byte argument. |
void |
testTraceChar()
Test LogSF.trace with single field pattern with char argument. |
void |
testTraceDouble()
Test LogSF.trace with single field pattern with double argument. |
void |
testTraceFloat()
Test LogSF.trace with single field pattern with float argument. |
void |
testTraceFourArg()
Test LogSF.trace with Object[] argument. |
void |
testTraceInt()
Test LogSF.trace with single field pattern with int argument. |
void |
testTraceLong()
Test LogSF.trace with single field pattern with long argument. |
void |
testTraceMissingArg()
Test LogSF.trace with missing argument. |
void |
testTraceNoArg()
Test LogSF.trace with no-field pattern. |
void |
testTraceNull()
Test LogSF.trace with single field pattern with null argument. |
void |
testTraceNullArrayArg()
Test LogSF.trace with null Object[] argument. |
void |
testTraceNullPattern()
Test LogSF.trace with null pattern. |
void |
testTraceShort()
Test LogSF.trace with single field pattern with short argument. |
void |
testTraceString()
Test LogSF.trace with single field pattern with string argument. |
void |
testTraceThreeArg()
Test LogSF.trace with three arguments. |
void |
testTraceTwoArg()
Test LogSF.trace with two arguments. |
void |
testWarnArrayArg()
Test LogSF.warn with Object[] argument. |
void |
testWarnBadPattern()
Test LogSF.warn with malformed pattern. |
void |
testWarnBoolean()
Test LogSF.warn with single field pattern with boolean argument. |
void |
testWarnByte()
Test LogSF.warn with single field pattern with byte argument. |
void |
testWarnChar()
Test LogSF.warn with single field pattern with char argument. |
void |
testWarnDouble()
Test LogSF.warn with single field pattern with double argument. |
void |
testWarnFloat()
Test LogSF.warn with single field pattern with float argument. |
void |
testWarnFourArg()
Test LogSF.warn with Object[] argument. |
void |
testWarnInt()
Test LogSF.warn with single field pattern with int argument. |
void |
testWarnLong()
Test LogSF.warn with single field pattern with long argument. |
void |
testWarnMissingArg()
Test LogSF.warn with missing argument. |
void |
testWarnNoArg()
Test LogSF.warn with no-field pattern. |
void |
testWarnNull()
Test LogSF.warn with single field pattern with null argument. |
void |
testWarnNullPattern()
Test LogSF.warn with null pattern. |
void |
testWarnShort()
Test LogSF.warn with single field pattern with short argument. |
void |
testWarnString()
Test LogSF.warn with single field pattern with string argument. |
void |
testWarnThreeArg()
Test LogSF.warn with three arguments. |
void |
testWarnTwoArg()
Test LogSF.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 TestLogSF(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 testDebugNullArrayArg()
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 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 testEscapeOneParam()
public void testEscapeTwoParam()
|
||||||||||
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.