public class AndRuleTest
extends junit.framework.TestCase
Constructor and Description |
---|
AndRuleTest(String testName)
Create new test.
|
Modifier and Type | Method and Description |
---|---|
void |
test1()
AndRule.getRule(Stack) throws exception if only one rule provided.
|
void |
test2()
AndRule.getRule(Stack) throws exception if non-rules are provided.
|
void |
test3()
Test And of Level and Time.
|
void |
test4()
Test And of Level and Time when Level does not match.
|
void |
test5()
Test And of Level and Time when Time does not match.
|
void |
test6()
Test deserialized And.
|
void |
test7()
Test deserialized And when Level doesn't 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 AndRuleTest(String testName)
testName
- test name.public void test1()
public void test2()
public void test3()
public void test4()
public void test5()
public void test6() throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void test7() 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.