public class FromXmlRuleSetTest extends Object
| Constructor and Description |
|---|
FromXmlRuleSetTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBasePath()
Test the FromXmlRules.addRuleInstances(digester, path) method, ie
test loading rules at a base position other than the root.
|
void |
testCallParamRule() |
void |
testCreateDigester()
Tests the DigesterLoader.createDigester(), with multiple
included rule sources: testrules.xml includes another rules xml
file, and also includes programmatically created rules.
|
void |
testFactoryCreateRule() |
void |
testFactoryIgnoreCreateRule() |
void |
testFactoryNotIgnoreCreateRule() |
void |
testInputSourceLoader() |
void |
testLoad1()
Tests the DigesterLoader.load(), with multiple included rule
sources: testrules.xml includes another rules xml file, and
also includes programmatically created rules.
|
void |
testLoad2()
The same as testLoad1, exception the input file is passed to
DigesterLoader as an InputStream instead of a URL.
|
void |
testSetCustomProperties() |
public FromXmlRuleSetTest()
public void testCreateDigester() throws Exception
Exceptionpublic void testLoad1() throws Exception
Exceptionpublic void testLoad2() throws Exception
Exceptionpublic void testSetCustomProperties() throws Exception
Exceptionpublic void testFactoryCreateRule() throws Exception
Exceptionpublic void testFactoryIgnoreCreateRule() throws Exception
Exceptionpublic void testFactoryNotIgnoreCreateRule() throws Exception
Exceptionpublic void testCallParamRule() throws Exception
Exceptionpublic void testInputSourceLoader() throws Exception
Exceptionpublic void testBasePath() throws Exception
ExceptionCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.