|
|||||||||||
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.GoldenMatch
Check if the Resposne body matches a golden file.
Field Summary |
Fields inherited from class org.apache.tomcat.util.test.Matcher |
client, debug, magnitude, request, response, result |
Constructor Summary | |
GoldenMatch()
|
Method Summary | |
void |
execute()
Execute the test |
java.lang.String |
getTestDescription()
Test description ( text representation of the test ) |
void |
setExactMatch(boolean ex)
|
void |
setFile(java.lang.String s)
Compare with the golden file |
void |
setGoldenFile(java.lang.String s)
|
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 GoldenMatch()
Method Detail |
public void setExactMatch(boolean ex)
public void setFile(java.lang.String s)
public void setGoldenFile(java.lang.String s)
public java.lang.String getTestDescription()
Matcher
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 |