org.apache.log4j.filter
Class SimpleFilterTest

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

public class SimpleFilterTest
extends junit.framework.TestCase

Various tests verifying that filters work properly and that JoranConfigurator can effectively parse config files containing them.

Author:
Ceki Gulcu

Field Summary
static java.lang.String FILTERED
           
static java.lang.String TEMP
           
 
Constructor Summary
SimpleFilterTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void test1()
           
 void test10()
           
 void test11()
           
 void test12()
           
 void test6()
           
 void test7()
           
 void test8()
           
 void test9()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

FILTERED

public static final java.lang.String FILTERED
See Also:
Constant Field Values

TEMP

public static final java.lang.String TEMP
See Also:
Constant Field Values
Constructor Detail

SimpleFilterTest

public SimpleFilterTest(java.lang.String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

test1

public void test1()
           throws java.lang.Exception
Throws:
java.lang.Exception

test6

public void test6()
           throws java.lang.Exception
Throws:
java.lang.Exception

test7

public void test7()
           throws java.lang.Exception
Throws:
java.lang.Exception

test8

public void test8()
           throws java.lang.Exception
Throws:
java.lang.Exception

test9

public void test9()
           throws java.lang.Exception
Throws:
java.lang.Exception

test10

public void test10()
            throws java.lang.Exception
Throws:
java.lang.Exception

test11

public void test11()
            throws java.lang.Exception
Throws:
java.lang.Exception

test12

public void test12()
            throws java.lang.Exception
Throws:
java.lang.Exception


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.