| org.apache.cactus.ServletTestCase org.apache.cactus.sample.servlet.unit.TestServletContext
TestServletContext | public class TestServletContext extends ServletTestCase (Code) | | Tests that exercise the Cactus Servlet Context wrapper.
version: $Id: TestServletContext.java 239054 2004-10-24 01:30:23Z felipeal $ |
setUp | public void setUp()(Code) | | Common initialization steps for all tests.
|
testSetContextInitParameterOverrideWebXmlParameter | public void testSetContextInitParameterOverrideWebXmlParameter()(Code) | | Verify that calling setInitParameter() with a parameter
already defined in web.xml will override it.
|
testSetContextInitParameterUsingApi | public void testSetContextInitParameterUsingApi()(Code) | | Verify that we can add parameters to the context list of parameters
programatically, without having to define them in web.xml .
|
|
|