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
Exception
public void testLoad1() throws Exception
Exception
public void testLoad2() throws Exception
Exception
public void testSetCustomProperties() throws Exception
Exception
public void testFactoryCreateRule() throws Exception
Exception
public void testFactoryIgnoreCreateRule() throws Exception
Exception
public void testFactoryNotIgnoreCreateRule() throws Exception
Exception
public void testCallParamRule() throws Exception
Exception
public void testInputSourceLoader() throws Exception
Exception
public void testBasePath() throws Exception
Exception
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.