public class PartialTextMatchRuleTest
extends junit.framework.TestCase
Constructor and Description |
---|
PartialTextMatchRuleTest(String testName)
Create new test.
|
Modifier and Type | Method and Description |
---|---|
void |
test1()
getRule() with only one entry on stack should throw IllegalArgumentException.
|
void |
test2()
getRule() with bad field name should throw IllegalArgumentException.
|
void |
test3()
getRule with "level" and "nfo" should return a LevelEqualsRule.
|
void |
test4()
getRule with "msg".
|
void |
test5()
getRule with "msg".
|
void |
test6()
Check PartailTextMatchRule serialization.
|
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 PartialTextMatchRuleTest(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
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.