|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport net.sf.jameleon.LocationAwareTagSupport net.sf.jameleon.JameleonTagSupport net.sf.jameleon.function.FunctionTag net.sf.jameleon.plugin.httpunit.HttpUnitFunctionTag net.sf.jameleon.plugin.httpunit.HtmlPageValidation net.sf.jameleon.plugin.httpunit.HtmlTableValidation
public class HtmlTableValidation
Generic page validation for page title, text, and links that may exist in a specific location.
Field Summary |
---|
Fields inherited from class net.sf.jameleon.plugin.httpunit.HtmlPageValidation |
---|
formNameOrId, imagesNotPresent, imagesPresent, linksNotPresent, linksPresent, stripHtmlComments, textNotPresent, textPresent, title, titleContains, trimWhitespace, validateImageResource, validateLinkResource, validationOccured |
Fields inherited from class net.sf.jameleon.plugin.httpunit.HttpUnitFunctionTag |
---|
currentPage, httpUnitFrameName, listener, requestTime, session |
Fields inherited from class net.sf.jameleon.function.FunctionTag |
---|
addt, breakPoint, expectException, expectFailure, fResults, functionDelay, functionId, lastFileWritten, log, NO_DELAY, params, postcondition, precondition, st, state, tct, vpt |
Fields inherited from class net.sf.jameleon.JameleonTagSupport |
---|
attributes, broker, contextVars, fp, unsupportedAttributes |
Fields inherited from class net.sf.jameleon.LocationAwareTagSupport |
---|
columnNumber, elementTagName, lineNumber, scriptFileName |
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
HtmlTableValidation()
|
Method Summary | |
---|---|
protected void |
addParameter(String name,
String value)
Add paramter for validation |
protected void |
addParameter(String name,
String value,
String paramType)
Add paramter for validation |
protected void |
addParameter(String name,
String value,
String paramType,
int row,
int col)
Add paramter for validation |
protected void |
addParameter(String name,
String value,
String paramType,
int row,
int col,
String tableIndex,
String tableIdentifier)
Add paramter for validation |
void |
setup()
|
void |
tearDown()
|
void |
testBlock()
|
Methods inherited from class net.sf.jameleon.plugin.httpunit.HtmlPageValidation |
---|
assertResourceValid, validateFormTypes, validateImagesNotPresent, validateImagesPresent, validateLinksNotPresent, validateLinksPresent, validateTextNotPresent, validateTextPresent |
Methods inherited from class net.sf.jameleon.JameleonTagSupport |
---|
cleanVariablesInContext, createAttributes, describeAttributes, getAttributeBroker, getAttributes, getAttributeType, getClassAttributes, getFunctionalPoint, getUnsupportedAttributes, loadFunctionalPoint, resetFunctionalPoint, setAttribute, setVariableInContext, testForUnsupportedAttributesCaught |
Methods inherited from class net.sf.jameleon.LocationAwareTagSupport |
---|
getColumnNumber, getElementName, getFileName, getLineNumber, setColumnNumber, setElementName, setFileName, setLineNumber |
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 |
Methods inherited from interface org.apache.commons.jelly.Tag |
---|
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent |
Constructor Detail |
---|
public HtmlTableValidation()
Method Detail |
---|
public void setup()
setup
in class HtmlPageValidation
public void testBlock()
testBlock
in class HtmlPageValidation
public void tearDown()
tearDown
in class HtmlPageValidation
protected void addParameter(String name, String value, String paramType, int row, int col, String tableIndex, String tableIdentifier)
name
- The name of paramvalue
- The value of the paramparamType
- The param typerow
- The value row in a tablecol
- The value col in a tabletableIndex
- The table indextableIdentifier
- The table name or idprotected void addParameter(String name, String value, String paramType, int row, int col)
name
- The name of paramvalue
- The value of the paramparamType
- The param typerow
- The value row in a tablecol
- The value col in a tableprotected void addParameter(String name, String value, String paramType)
name
- The name of paramvalue
- The value of the paramparamType
- The param typeprotected void addParameter(String name, String value)
name
- The name of paramvalue
- The value of the param
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |