|
||||||||||
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.commons.logging.jdk14.DefaultConfigTestCase
public class DefaultConfigTestCase
TestCase for JDK 1.4 logging when running on a JDK 1.4 system with zero configuration, and with Log4J not present (so JDK 1.4 logging should be automatically configured.
Field Summary | |
---|---|
protected LogFactory |
factory
The LogFactory implementation we have selected. |
protected Log |
log
The Log implementation we have selected. |
Constructor Summary | |
---|---|
DefaultConfigTestCase(String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
protected void |
checkLog()
|
void |
setUp()
Set up instance variables required by this test case. |
protected void |
setUpFactory()
|
protected void |
setUpLog(String name)
|
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testPristineFactory()
|
void |
testPristineLog()
|
void |
testSerializable()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected LogFactory factory
The LogFactory
implementation we have selected.
protected Log log
The Log
implementation we have selected.
Constructor Detail |
---|
public DefaultConfigTestCase(String name)
Construct a new instance of this test case.
name
- Name of the test caseMethod Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public static junit.framework.Test suite() throws Exception
Exception
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testPristineLog()
public void testPristineFactory()
public void testSerializable() throws Exception
Exception
protected void checkLog()
protected void setUpFactory() throws Exception
Exception
protected void setUpLog(String name) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |