Package org.apache.struts.config
Class TestActionConfigMatcher
java.lang.Object
org.apache.struts.mock.TestMockBase
org.apache.struts.config.TestActionConfigMatcher
Unit tests for
ActionConfigMatcher.- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class org.apache.struts.mock.TestMockBase
config, context, moduleConfig, moduleConfig2, moduleConfig3, page, principal, request, response, session -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtearDown()voidvoidvoidVerifies that an infinite loop is prevented and substitution is skipped when the the placeholder key is contained within the substituted value.voidVerifies that a match succeeds when the substituted value contains a placeholder key.voidVerifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.voidVerifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.voidvoidvoidMethods inherited from class org.apache.struts.mock.TestMockBase
setUpDefaultApp, setUpSecondApp, setUpThirdApp, testUtilBaseEnvironment
-
Constructor Details
-
TestActionConfigMatcher
public TestActionConfigMatcher()
-
-
Method Details
-
setUp
- Overrides:
setUpin classTestMockBase
-
tearDown
- Overrides:
tearDownin classTestMockBase
-
testNoMatch
-
testMatchWithKeyInPath
Verifies that a match succeeds when the substituted value contains a placeholder key.See STR-3169.
- Since:
- Struts 1.3.11
-
testMatchWithSubstitutionEqualPlaceholderKey0
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.See STR-3169.
- Since:
- Struts 1.3.11
- See Also:
-
testMatchWithSubstitutionEqualPlaceholderKey1
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.See STR-3169.
- Since:
- Struts 1.3.11
- See Also:
-
testMatchWhenSubstitutionContainsPlaceholderKey
Verifies that an infinite loop is prevented and substitution is skipped when the the placeholder key is contained within the substituted value.See STR-3169.
- Since:
- Struts 1.3.11
-
testNoWildcardMatch
-
testShouldMatch
-
testCheckSubstitutionsMatch
-
testCheckMultipleSubstitutions
-