|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
javax.faces.webapp.ConfigFileTestCase
public class ConfigFileTestCase
Unit tests for Configuration File processing.
Field Summary | |
---|---|
protected java.lang.String |
CONFIG_DTD_PUBLIC_ID
|
protected Digester |
digester
The Digester instance we will use to parse configuration files. |
Constructor Summary | |
---|---|
ConfigFileTestCase(java.lang.String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
protected void |
configureRules(Digester digester)
|
protected void |
configureRulesApplication(Digester digester)
|
protected void |
configureRulesAttribute(Digester digester,
java.lang.String prefix)
|
protected void |
configureRulesComponent(Digester digester)
|
protected void |
configureRulesConverter(Digester digester)
|
protected void |
configureRulesFeature(Digester digester,
java.lang.String prefix)
|
protected void |
configureRulesProperty(Digester digester,
java.lang.String prefix)
|
protected void |
configureRulesValidator(Digester digester)
|
protected Digester |
createDigester()
|
protected ConfigBase |
parseConfig(java.net.URL config)
|
protected java.net.URL |
relativeURL(java.lang.String relativePath)
|
void |
setUp()
Set up instance variables required by this test case. |
static Test |
suite()
Return the tests included in this test suite. |
void |
testEmpty()
|
void |
testFull()
|
void |
testPristine()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String CONFIG_DTD_PUBLIC_ID
protected Digester digester
Constructor Detail |
---|
public ConfigFileTestCase(java.lang.String name)
name
- Name of the test caseMethod Detail |
---|
public void setUp() throws java.lang.Exception
java.lang.Exception
public static Test suite()
public void testEmpty() throws java.lang.Exception
java.lang.Exception
public void testFull() throws java.lang.Exception
java.lang.Exception
public void testPristine()
protected Digester createDigester() throws java.lang.Exception
java.lang.Exception
protected void configureRules(Digester digester)
protected void configureRulesApplication(Digester digester)
protected void configureRulesAttribute(Digester digester, java.lang.String prefix)
protected void configureRulesComponent(Digester digester)
protected void configureRulesConverter(Digester digester)
protected void configureRulesFeature(Digester digester, java.lang.String prefix)
protected void configureRulesProperty(Digester digester, java.lang.String prefix)
protected void configureRulesValidator(Digester digester)
protected ConfigBase parseConfig(java.net.URL config) throws java.lang.Exception
java.lang.Exception
protected java.net.URL relativeURL(java.lang.String relativePath) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |