Class WebApplicationTest

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

public abstract class WebApplicationTest extends Object
The JUnit tests for any WebApplication implementation.

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

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

    • WebApplicationTest

      public WebApplicationTest()
  • 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 response.