|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
org.apache.commons.latka.jelly.validators.GoldenFileTag
A class to compare an HTTP response to a golden file
| Field Summary | |
protected java.lang.String |
_fileName
|
protected boolean |
_ignoreWhitespace
|
protected static org.apache.log4j.Category |
_log
|
| Fields inherited from class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport |
_label, _listener, _response |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
GoldenFileTag()
|
|
| Method Summary | |
Validator |
getValidator()
return the golden file validator |
void |
setFileName(java.lang.String fileName)
set the file name for the golden file |
void |
setIgnoreWhitespace(boolean ignoreWhitespace)
whether or not to ignore whitespace |
| Methods inherited from class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport |
doTag, getResponse, init, setLabel, validate |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String _fileName
protected boolean _ignoreWhitespace
protected static final org.apache.log4j.Category _log
| Constructor Detail |
public GoldenFileTag()
| Method Detail |
public Validator getValidator()
getValidator in class HttpValidatorTagSupportpublic void setIgnoreWhitespace(boolean ignoreWhitespace)
ignoreWhitespace - whether or not to ignore whitespacepublic void setFileName(java.lang.String fileName)
fileName - golden file name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||