| org.apache.cactus.ServletTestCase org.apache.cactus.sample.servlet.TestSampleServletConfig
TestSampleServletConfig | public class TestSampleServletConfig extends ServletTestCase (Code) | | Tests of the SampleServletConfig servlet class. This to show
how servlet methods that makes calls to getServletConfig() ,
getServletContext() , log() , ... (i.e. methods that
have been inherited from GenericServlet ) can be unit-tested
with Cactus.
version: $Id: TestSampleServletConfig.java 238816 2004-02-29 16:36:46Z vmassol $ |
Method Summary | |
public void | testServletConfig() Verify that we can unit test a servlet that makes calls to
getServletConfig() , getServletContext() ,
log() , ... |
testServletConfig | public void testServletConfig() throws ServletException(Code) | | Verify that we can unit test a servlet that makes calls to
getServletConfig() , getServletContext() ,
log() , ... (i.e. methods inherited from
GenericServlet ).
exception: ServletException - on test failure |
|
|