org.apache.log4j
Class TestLogXF

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.log4j.TestLogXF
All Implemented Interfaces:
junit.framework.Test

public class TestLogXF
extends junit.framework.TestCase

Unit test for LogXF.


Constructor Summary
TestLogXF(java.lang.String testName)
          Create the test case
 
Method Summary
 void tearDown()
          Post test clean up.
 void testEntering()
          Test LogXF.entering with class and method.
 void testEnteringNullNull()
          Test LogXF.entering with null class and method.
 void testEnteringNullNullNull()
          Test LogXF.entering with null class, method and parameter.
 void testEnteringNullNullNullArray()
          Test LogXF.entering with null class, method and parameters.
 void testEnteringWithBadParam()
          Test LogXF.entering with class, method and bad parameter.
 void testEnteringWithBadParams()
          Test LogXF.entering with class, method and bad parameters.
 void testEnteringWithParam()
          Test LogXF.entering with class, method and parameter.
 void testExiting()
          Test LogXF.exiting with class and method.
 void testExitingNullNull()
          Test LogXF.exiting with null class and method.
 void testExitingNullNullNull()
          Test LogXF.exiting with null class, method and parameter.
 void testExitingWithBadValue()
          Test LogXF.exiting with class, method and bad return value.
 void testExitingWithValue()
          Test LogXF.exiting with class, method and return value.
 void testThrowing()
          Test LogXF.exiting with class and method.
 void testThrowingNullNullNull()
          Test LogXF.throwing with null class, method and throwable.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestLogXF

public TestLogXF(java.lang.String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

tearDown

public void tearDown()
Post test clean up.

Overrides:
tearDown in class junit.framework.TestCase

testEnteringNullNull

public void testEnteringNullNull()
Test LogXF.entering with null class and method.


testEnteringNullNullNull

public void testEnteringNullNullNull()
Test LogXF.entering with null class, method and parameter.


testEnteringNullNullNullArray

public void testEnteringNullNullNullArray()
Test LogXF.entering with null class, method and parameters.


testEntering

public void testEntering()
Test LogXF.entering with class and method.


testEnteringWithParam

public void testEnteringWithParam()
Test LogXF.entering with class, method and parameter.


testEnteringWithBadParam

public void testEnteringWithBadParam()
Test LogXF.entering with class, method and bad parameter.


testEnteringWithBadParams

public void testEnteringWithBadParams()
Test LogXF.entering with class, method and bad parameters.


testExitingNullNull

public void testExitingNullNull()
Test LogXF.exiting with null class and method.


testExitingNullNullNull

public void testExitingNullNullNull()
Test LogXF.exiting with null class, method and parameter.


testExiting

public void testExiting()
Test LogXF.exiting with class and method.


testExitingWithValue

public void testExitingWithValue()
Test LogXF.exiting with class, method and return value.


testExitingWithBadValue

public void testExitingWithBadValue()
Test LogXF.exiting with class, method and bad return value.


testThrowingNullNullNull

public void testThrowingNullNullNull()
Test LogXF.throwing with null class, method and throwable.


testThrowing

public void testThrowing()
Test LogXF.exiting with class and method.



Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.