|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.anteater.test.BaseTask
|
+--org.apache.anteater.test.ContentHandlerTask
|
+--org.apache.anteater.test.MatcherTest
|
+--org.apache.anteater.test.matchers.ResponseCode
Check the response code in the HTTP response.
| Field Summary |
| Fields inherited from class org.apache.anteater.test.MatcherTest |
logger, matcher, objectModel, property |
| Fields inherited from class org.apache.anteater.test.ContentHandlerTask |
handlerFactory, matcherTests |
| Fields inherited from class org.apache.anteater.test.BaseTask |
debug, debugWasSet |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Fields inherited from interface org.apache.anteater.test.ObjectModel |
NAMESPACES_KEY, PROPERTIES_KEY |
| Constructor Summary | |
ResponseCode()
|
|
| Method Summary | |
void |
addText(String body)
Sets the body text. |
boolean |
equals(Object another)
|
String |
getValue()
|
int |
hashCode()
|
void |
setPattern(String pattern)
|
void |
setValue(String code)
|
String |
toString()
|
boolean |
validate()
Return true if this instance matches against the matchOn object of the matcher. |
| Methods inherited from class org.apache.anteater.test.MatcherTest |
getMatchOn, getResult, getText, setAssign, setLogger, setMatcher, setObjectModel, setPropertyValue |
| Methods inherited from class org.apache.anteater.test.ContentHandlerTask |
addTask, execute |
| Methods inherited from class org.apache.anteater.test.BaseTask |
debug, getDebug, getGroup, print, println, resolveContentURL, setDebug, setGroup, setGroup |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ResponseCode()
| Method Detail |
public void setValue(String code)
public String getValue()
public void addText(String body)
MatcherTest
addText in class MatcherTestpublic void setPattern(String pattern)
public boolean equals(Object another)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
public boolean validate()
throws org.apache.tools.ant.BuildException
MatcherTestmatchOn object of the matcher.
validate in class MatcherTestboolean value
org.apache.tools.ant.BuildException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||