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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
void
tearDown()
void
void
void
Verifies that an infinite loop is prevented and substitution is skipped when the the placeholder key is contained within the substituted value.void
Verifies that a match succeeds when the substituted value contains a placeholder key.void
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.void
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.void
void
void
Methods inherited from class org.apache.struts.mock.TestMockBase
setUpDefaultApp, setUpSecondApp, setUpThirdApp, testUtilBaseEnvironment
-
Constructor Details
-
TestActionConfigMatcher
public TestActionConfigMatcher()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classTestMockBase
-
tearDown
- Overrides:
tearDown
in 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
-