Class TestModuleConfig

java.lang.Object
org.apache.struts.config.TestModuleConfig

public class TestModuleConfig extends Object
Unit tests for the org.apache.struts.config package.
Version:
$Rev$ $Date$
  • Field Details

    • config

      protected org.apache.struts.config.ModuleConfig config
      The ModuleConfig we are testing.
  • Constructor Details

    • TestModuleConfig

      public TestModuleConfig()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
      Set up instance variables required by this test case.
    • tearDown

      @AfterEach public void tearDown()
      Tear down instance variables required by this test case.
    • testParse

      @Test public void testParse()
      Test parsing of a struts-config.xml file.
    • testParse1_1

      @Test public void testParse1_1()
    • testParseBase

      public void testParseBase(String publicId, String entityURL, String strutsConfig)
    • testCustomMappingParse

      @Test public void testCustomMappingParse()
      Tests a struts-config.xml that contains a custom mapping and property.
    • testCustomMappingParse1_1

      @Test public void testCustomMappingParse1_1()
      Tests a struts-config.xml that contains a custom mapping and property.
    • testPreserveActionMappingsOrder

      @Test public void testPreserveActionMappingsOrder()
      Test order of action mappings defined perserved.