|
||||||||||
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.BasicOperationsTestCase
public class BasicOperationsTestCase
Tests the basic logging operations to ensure that they all function without exception failure. In other words, that they do no fail by throwing exceptions. This is the minimum requirement for any well behaved logger and so this test should be run for each kind.
Constructor Summary | |
---|---|
BasicOperationsTestCase()
|
Method Summary | |
---|---|
void |
executeIsEnabledTest(Log log)
|
void |
executeMessageWithExceptionTest(Log log)
|
void |
executeMessageWithoutExceptionTest(Log log)
|
void |
testIsEnabledClassLog()
|
void |
testIsEnabledNamedLog()
|
void |
testMessageWithExceptionClassLog()
|
void |
testMessageWithExceptionNamedLog()
|
void |
testMessageWithoutExceptionClassLog()
|
void |
testMessageWithoutExceptionNamedLog()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
Constructor Detail |
---|
public BasicOperationsTestCase()
Method Detail |
---|
public void testIsEnabledClassLog()
public void testIsEnabledNamedLog()
public void executeIsEnabledTest(Log log)
public void testMessageWithoutExceptionClassLog()
public void testMessageWithoutExceptionNamedLog()
public void executeMessageWithoutExceptionTest(Log log)
public void testMessageWithExceptionClassLog()
public void testMessageWithExceptionNamedLog()
public void executeMessageWithExceptionTest(Log log)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |