|
||||||||||
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.log4j.rule.OrRuleTest
public class OrRuleTest
Test for OrRule.
Constructor Summary | |
---|---|
OrRuleTest(java.lang.String testName)
Create new test. |
Method Summary | |
---|---|
void |
test1()
OrRule.getRule(Stack) throws exception if only one rule provided. |
void |
test2()
OrRule.getRule(Stack) throws exception if non-rules are provided. |
void |
test3()
Test Or of Level and Time. |
void |
test4()
Test Or of Level and Time when Level does not match. |
void |
test5()
Test Or of Level and Time when Time does not match. |
void |
test6()
Test Or of Level and Time when Time and Level do not match. |
void |
test7()
Test deserialized Or. |
void |
test8()
Test deserialized Or when neither rule match. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrRuleTest(java.lang.String testName)
testName
- test name.Method Detail |
---|
public void test1()
public void test2()
public void test3()
public void test4()
public void test5()
public void test6()
public void test7() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void test8() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | 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.