Class WebApplicationRequestTest

java.lang.Object
cloud.piranha.core.tests.WebApplicationRequestTest

public abstract class WebApplicationRequestTest extends Object
The JUnit tests for any WebApplicationRequest implementation.

Note all these tests only use the public APIs of WebApplication, WebApplicationRequest and WebApplicationResponse.

Author:
Manfred Riem ([email protected])
  • Constructor Details

    • WebApplicationRequestTest

      public WebApplicationRequestTest()
  • Method Details

    • createWebApplication

      protected abstract WebApplication createWebApplication()
      Create the web application.
      Returns:
      the web application.
    • createWebApplicationRequest

      protected abstract WebApplicationRequest createWebApplicationRequest()
      Create the web application request.
      Returns:
      the web application request.
    • createWebApplicationResponse

      protected abstract WebApplicationResponse createWebApplicationResponse()
      Create the web application response.
      Returns:
      the web application responses.