org.apache.tapestry.test
Interface ResponseAssertion
- All Known Implementing Classes:
- AssertOutput, AssertRegexp
- public interface ResponseAssertion
Interface for classes that can test a response from the (simulated) web server
for conformance to some expectation; most implementions check the
response content for particular literal values or regular expressions.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Method Summary |
void |
execute(ScriptedTestSession session)
Invoked after a response has been recieved from the simulated servlet container;
assertions run to check that the response is as expected. |
execute
public void execute(ScriptedTestSession session)
- Invoked after a response has been recieved from the simulated servlet container;
assertions run to check that the response is as expected.