Package org.apache.anteater.test.matchers

This package contains implementations of matchers.

See:
          Description

Class Summary
Blob A binary object matcher.
ContentEquals Checks if the matchOn string is equal with another one.
Header Maintains an HTTP header.
Jing Matcher based on James Clark's Jing tool for validating XML documents against the Relax NG schema language.
Method Check the method (GET, POST etc.) in an incoming HTTP request.
Parameter Maintains and checks a single HTTP parameter.
Regexp Validates content against a regular expression.
ResponseCode Check the response code in the HTTP response.
Template A template matcher, that you can base new matchers on.
XPath Assuming that the body of the HTTP message is an XML document, matches it using XPath.
 

Package org.apache.anteater.test.matchers Description

This package contains implementations of matchers. Matchers are primarily tests which can be applied to a request or response, and will pass or fail, based on some matcher-specific test. However, they can also be used to set an Ant property via the 'assign' attribute. Some are also used to set HTTP data, like headers and parameters, when used inside a <listener>

Each of these matchers is a subclass of MatcherTest.



Ant Functional Tester -- see Project home page for details