| org.apache.commons.jelly.tags.junit.AssertTagSupport org.apache.commons.jelly.tags.junit.AssertTag
AssertTag | public class AssertTag extends AssertTagSupport (Code) | | Performs an assertion that a given boolean expression, or XPath expression is
true. If the expression returns false then this test fails.
author: James Strachan version: $Revision: 155420 $ |
Method Summary | |
public void | doTag(XMLOutput output) | public void | setTest(Expression test) Sets the boolean expression to evaluate. | public void | setXpath(XPath xpath) Sets the boolean XPath expression to evaluate. |
AssertTag | public AssertTag()(Code) | | |
setTest | public void setTest(Expression test)(Code) | | Sets the boolean expression to evaluate. If this expression returns true
then the test succeeds otherwise if it returns false then the text will
fail with the content of the tag being the error message.
|
setXpath | public void setXpath(XPath xpath)(Code) | | Sets the boolean XPath expression to evaluate. If this expression returns true
then the test succeeds otherwise if it returns false then the text will
fail with the content of the tag being the error message.
|
|
|