|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--de.qfs.lib.log.LogLevels.UnitTest
Test cases for the LogLevels class.
Constructor Summary | |
LogLevels.UnitTest(java.lang.String name)
Create a new UnitTest. |
Method Summary | |
protected void |
setUp()
Set up the test fixture. |
static junit.framework.Test |
suite()
Get the suite of tests. |
void |
testFindNodeAndParent()
Test the Node.findNodeAndParent method. |
void |
testGetLogLevel()
Test the getLogLevel method. |
void |
testGetLogLevels()
Test the getLogLevels method. |
void |
testListener()
Test adding a log level listener. |
void |
testRemoveClassLevel()
Test removing the log level for a class. |
void |
testRemovePackageLevel()
Test removing the log level for a package. |
void |
testSetClassLevel()
Test setting the log level for a class before and after it is requested. |
void |
testSetDefault()
Test the setDefaultLogLevel method. |
void |
testSetPackageLevel()
Test setting the log level for a package before and after class log levels are requested |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LogLevels.UnitTest(java.lang.String name)
name
- The name of the test.Method Detail |
protected void setUp()
setUp
in class junit.framework.TestCase
public static junit.framework.Test suite()
public void testFindNodeAndParent()
public void testGetLogLevel()
public void testSetDefault()
public void testSetClassLevel()
public void testSetPackageLevel()
public void testRemoveClassLevel()
public void testRemovePackageLevel()
public void testListener()
public void testGetLogLevels()
|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |