org.apache.commons.logging
Class BasicOperationsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.logging.BasicOperationsTestCase
All Implemented Interfaces:
junit.framework.Test

public class BasicOperationsTestCase
extends junit.framework.TestCase

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(org.apache.commons.logging.Log log)
           
 void executeMessageWithExceptionTest(org.apache.commons.logging.Log log)
           
 void executeMessageWithoutExceptionTest(org.apache.commons.logging.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

BasicOperationsTestCase

public BasicOperationsTestCase()
Method Detail

testIsEnabledClassLog

public void testIsEnabledClassLog()

testIsEnabledNamedLog

public void testIsEnabledNamedLog()

executeIsEnabledTest

public void executeIsEnabledTest(org.apache.commons.logging.Log log)

testMessageWithoutExceptionClassLog

public void testMessageWithoutExceptionClassLog()

testMessageWithoutExceptionNamedLog

public void testMessageWithoutExceptionNamedLog()

executeMessageWithoutExceptionTest

public void executeMessageWithoutExceptionTest(org.apache.commons.logging.Log log)

testMessageWithExceptionClassLog

public void testMessageWithExceptionClassLog()

testMessageWithExceptionNamedLog

public void testMessageWithExceptionNamedLog()

executeMessageWithExceptionTest

public void executeMessageWithExceptionTest(org.apache.commons.logging.Log log)


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.