Class ServletApplicationContextTest
java.lang.Object
org.apache.tiles.request.jakarta.servlet.ServletApplicationContextTest
Tests
ServletApplicationContext
.
Copied from Apache tiles-request-servlet 1.0.7 and adapted for Jakarta EE 9.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
Sets up the test.void
Test method forServletApplicationContext.getApplicationScope()
.void
Test method forServletApplicationContext.getContext()
.void
Test method forServletApplicationContext.getInitParams()
.void
Test method forServletApplicationContext.getResource(String)
.void
Test method forServletApplicationContext.getResources(String)
.
-
Constructor Details
-
ServletApplicationContextTest
public ServletApplicationContextTest()Empty default constructor
-
-
Method Details
-
setUp
Sets up the test. -
testGetContext
Test method forServletApplicationContext.getContext()
. -
testGetApplicationScope
Test method forServletApplicationContext.getApplicationScope()
. -
testGetInitParams
Test method forServletApplicationContext.getInitParams()
. -
testGetResource
Test method forServletApplicationContext.getResource(String)
.- Throws:
IOException
- If something goes wrong.
-
testGetResources
Test method forServletApplicationContext.getResources(String)
.- Throws:
IOException
- If something goes wrong.
-