|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mactor.extensions.xml.XPathIgnoreNsValidator
public class XPathIgnoreNsValidator
Validates that a selected field from the last received message matches a
specifed value.
The field to select and the value it must be equal to
is specified as a single parameter on the form:
[XPath expression that
selects the single attribute or element ]==[value that the selected field
must be equal to]
Namespace information in the evaluated messages is ignored, so the XPath
expressions must not include namespace prefixes
Constructor Summary | |
---|---|
XPathIgnoreNsValidator()
|
Method Summary | |
---|---|
void |
perform(TestContext context,
java.util.List<java.lang.String> params)
The method invoked by the testrunner to perform the action node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathIgnoreNsValidator()
Method Detail |
---|
public void perform(TestContext context, java.util.List<java.lang.String> params) throws MactorException
ActionCommand
perform
in interface ActionCommand
context
- contains information about the context of the test that might
be useful (such as all messages sent/received so far in the
test)params
- the list of parameteres specifed for the given node in the
test-spec xml (after the ##{...} substitution has been
performed)
MactorException
- to indicate that the action failed for a functional or
non-funtional reason (this will case the test to fail)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |