Package rife.test


package rife.test
Provides classes and interfaces for the out-of-container testing framework.
Since:
1.0
  • Classes
    Class
    Description
    Simulates a conversation between a web browser and a servlet container.
    Extends a Cookie by tracking the creation time and allowing max-age expiration to be evaluated.
    A MockEvent instance corresponds to a single event that was parsed from a server-sent events (SSE) response, as it is provided by MockResponse.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 with ParsedHtml.parse(rife.test.MockResponse).
    Corresponds to a link in an HTML document after it has been parsed with ParsedHtml.parse(rife.test.MockResponse).
    Provides a Request implementation that is suitable for testing a web application outside a servlet container.
    Provides a Response implementation that is suitable for testing a web application outside a servlet container.
    Retrieves the text content of a MockResponse and parses it as HTML.