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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()Sets up the test.voidTest method forServletApplicationContext.getApplicationScope().voidTest method forServletApplicationContext.getContext().voidTest method forServletApplicationContext.getInitParams().voidTest method forServletApplicationContext.getResource(String).voidTest 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.
-