Package rife.test
package rife.test
Provides classes and interfaces for the out-of-container testing framework.
- Since:
- 1.0
-
ClassesClassDescriptionSimulates a conversation between a web browser and a servlet container.Extends a
Cookieby tracking the creation time and allowing max-age expiration to be evaluated.AMockEventinstance corresponds to a single event that was parsed from a server-sent events (SSE) response, as it is provided byMockResponse.getEvents().An instance of this class provides all the data that is needed to simulate a file upload.Corresponds to a form in an HTML document after it has been parsed withParsedHtml.parse(rife.test.MockResponse).Corresponds to a link in an HTML document after it has been parsed withParsedHtml.parse(rife.test.MockResponse).Provides aRequestimplementation that is suitable for testing a web application outside a servlet container.Provides aResponseimplementation that is suitable for testing a web application outside a servlet container.Retrieves the text content of aMockResponseand parses it as HTML.