Package org.apache.struts.config
Class TestModuleConfig
java.lang.Object
org.apache.struts.config.TestModuleConfig
Unit tests for the
org.apache.struts.config package.- Version:
- $Rev$ $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.struts.config.ModuleConfigThe ModuleConfig we are testing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()Set up instance variables required by this test case.voidtearDown()Tear down instance variables required by this test case.voidTests a struts-config.xml that contains a custom mapping and property.voidTests a struts-config.xml that contains a custom mapping and property.voidTest parsing of a struts-config.xml file.voidvoidtestParseBase(String publicId, String entityURL, String strutsConfig) voidTest order of action mappings defined perserved.
-
Field Details
-
config
protected org.apache.struts.config.ModuleConfig configThe ModuleConfig we are testing.
-
-
Constructor Details
-
TestModuleConfig
public TestModuleConfig()
-
-
Method Details
-
setUp
Set up instance variables required by this test case. -
tearDown
Tear down instance variables required by this test case. -
testParse
Test parsing of a struts-config.xml file. -
testParse1_1
-
testParseBase
-
testCustomMappingParse
Tests a struts-config.xml that contains a custom mapping and property. -
testCustomMappingParse1_1
Tests a struts-config.xml that contains a custom mapping and property. -
testPreserveActionMappingsOrder
Test order of action mappings defined perserved.
-