public class OrRuleTest
extends junit.framework.TestCase
Constructor and Description |
---|
OrRuleTest(String testName)
Create new test.
|
Modifier and Type | Method and Description |
---|---|
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.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public OrRuleTest(String testName)
testName
- test name.public void test1()
public void test2()
public void test3()
public void test4()
public void test5()
public void test6()
public void test7() throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void test8() throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.