java.lang.Object
cloud.piranha.core.tests.WebApplicationTest
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])
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Test initializer that is used by testAddInitializer2.static class
Test initializer that is used by testAddInitializer2.static class
Test listener that is used by testAddListener2.static class
Test listener that is used by testCreateListener2.static class
Test listener that is used by testCreateListener3.static class
Test HttpSessionListener to validate createListener was called.static class
Test listener that is used by testCreateListener.static class
Test servlet that is used by testGetServletRegistration2.static class
Test servlet that is used by testGetServletRegistrations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract WebApplication
Create the web application.protected abstract WebApplicationRequest
Create the web application request.protected abstract WebApplicationResponse
Create the web application response.
-
Constructor Details
-
WebApplicationTest
public WebApplicationTest()
-
-
Method Details
-
createWebApplication
Create the web application.- Returns:
- the web application.
-
createWebApplicationRequest
Create the web application request.- Returns:
- the web application request.
-
createWebApplicationResponse
Create the web application response.- Returns:
- the web application response.
-