|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.struts.config.TestModuleConfig
public class TestModuleConfig
Unit tests for the org.apache.struts.config package.
| Field Summary | |
|---|---|
protected ModuleConfig |
config
The ModuleConfig we are testing. |
| Constructor Summary | |
|---|---|
TestModuleConfig(String name)
Construct a new instance of this test case. |
|
| Method Summary | |
|---|---|
void |
setUp()
Set up instance variables required by this test case. |
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testCustomMappingParse()
Tests a struts-config.xml that contains a custom mapping and property. |
void |
testCustomMappingParse1_1()
Tests a struts-config.xml that contains a custom mapping and property. |
void |
testParse()
Test parsing of a struts-config.xml file. |
void |
testParse1_1()
|
void |
testParseBase(String publicId,
String entityURL,
String strutsConfig)
|
void |
testPreserveActionMappingsOrder()
Test order of action mappings defined perserved. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ModuleConfig config
| Constructor Detail |
|---|
public TestModuleConfig(String name)
name - Name of the test case| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCasepublic static junit.framework.Test suite()
public void tearDown()
tearDown in class junit.framework.TestCasepublic void testParse()
public void testParse1_1()
public void testParseBase(String publicId,
String entityURL,
String strutsConfig)
public void testCustomMappingParse()
public void testCustomMappingParse1_1()
public void testPreserveActionMappingsOrder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||