|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.util.test.Matcher
org.apache.tomcat.util.test.matchers.ResponseMatch
Check if the response contains a substring
Field Summary |
Fields inherited from class org.apache.tomcat.util.test.Matcher |
client, debug, magnitude, request, response, result |
Constructor Summary | |
ResponseMatch()
|
Method Summary | |
void |
execute()
Execute the test |
java.lang.String |
getTestDescription()
A test description of the test beeing made |
void |
setMatch(java.lang.String s)
Verify that response match the string |
void |
setResponseMatch(java.lang.String s)
Verify that response match the string |
Methods inherited from class org.apache.tomcat.util.test.Matcher |
getHttpClient, getHttpRequest, getHttpResponse, getMessage, getResult, log, setDebug, setExpectedResult, setHttpClient, setHttpRequest, setHttpResponse, setIf, setMagnitude, setUnless, skipTest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResponseMatch()
Method Detail |
public void setMatch(java.lang.String s)
public void setResponseMatch(java.lang.String s)
public java.lang.String getTestDescription()
getTestDescription
in class Matcher
public void execute()
Matcher
execute
in class Matcher
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |