|
||||||||||
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.AbstractLogTest
org.apache.commons.logging.logkit.StandardTestCase
public class StandardTestCase
Basic tests for Avalon LogKit logger adapter.
Field Summary | |
---|---|
protected LogFactory |
factory
The LogFactory implementation we have selected. |
protected Log |
log
The Log implementation we have selected. |
Constructor Summary | |
---|---|
StandardTestCase()
|
Method Summary | |
---|---|
protected void |
checkStandard()
|
Log |
getLogObject()
Override the abstract method from the parent class so that the inherited tests can access the right Log object type. |
void |
setUp()
Set up instance variables required by this test case. |
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 org.apache.commons.logging.AbstractLogTest |
---|
testLoggingWithNullParameters |
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 StandardTestCase()
Method Detail |
---|
public static junit.framework.Test suite() throws Exception
Exception
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown()
tearDown
in class junit.framework.TestCase
public Log getLogObject()
getLogObject
in class AbstractLogTest
public void testPristineFactory()
public void testPristineLog()
public void testSerializable() throws Exception
Exception
protected void checkStandard()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |