|
Keel 2.1RC2 | ||||||||||
| 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.log4j.DefaultConfigTestCase
TestCase for Log4J logging when running on a system with zero configuration, and with Log4J present (so Log4J logging should be automatically configured).
| Field Summary | |
protected LogFactory |
factoryThe LogFactory implementation we have selected. |
protected Log |
logThe Log implementation we have selected. |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
DefaultConfigTestCase()Construct a new instance of this test case. |
|
DefaultConfigTestCase(java.lang.String name)Construct a new instance of this test case. |
|
| Method Summary | |
void |
setUp()Set up instance variables required by this test case. |
protected void |
setUpFactory() |
protected void |
setUpLog(java.lang.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() |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, 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, assertTrue, assertTrue, fail, fail |
| 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()
Construct a new instance of this test case.
public DefaultConfigTestCase(java.lang.String name)
Construct a new instance of this test case.
name - Name of the test case| Method Detail |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic static junit.framework.Test suite()
public void tearDown()
public void testPristineLog()
public void testPristineFactory()
protected void setUpFactory()
throws java.lang.Exception
java.lang.Exception
protected void setUpLog(java.lang.String name)
throws java.lang.Exception
java.lang.Exception
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||