|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.melati.servlet.test.ConfigServletTest
public class ConfigServletTest
| Constructor Summary | |
|---|---|
ConfigServletTest(String name)
Constructor for ConfigServletTest. |
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testConnectionPendingError()
|
void |
testDoGetHttpServletRequestHttpServletResponse()
|
void |
testDoPostHttpServletRequestHttpServletResponse()
|
void |
testError()
|
void |
testExceptionDuringInit()
Test expection thrown during initialisation. |
void |
testGetSysAdminEmail()
|
void |
testGetSysAdminName()
|
void |
testInitServletConfig()
|
void |
testWriteConnectionPendingException()
|
void |
testWriteError()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigServletTest(String name)
name - | Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionTestCase.setUp()
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionTestCase.tearDown()public void testInitServletConfig()
ConfigServlet.init(ServletConfig)public void testDoGetHttpServletRequestHttpServletResponse()
ConfigServlet.doGet(HttpServletRequest, HttpServletResponse)public void testDoPostHttpServletRequestHttpServletResponse()
ConfigServlet.doPost(HttpServletRequest, HttpServletResponse)public void testError()
ConfigServlet.error(Melati, Exception)
public void testConnectionPendingError()
throws Exception
ExceptionConfigServlet.error(Melati, Exception)
public void testExceptionDuringInit()
throws Exception
Exceptionpublic void testWriteError()
ConfigServlet.writeError(PrintWriter, Exception)public void testWriteConnectionPendingException()
ConfigServlet.writeConnectionPendingException(PrintWriter, Exception)public void testGetSysAdminName()
ConfigServlet.getSysAdminName()public void testGetSysAdminEmail()
ConfigServlet.getSysAdminEmail()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||