org.melati.servlet.test
Class ConfigServletTest

Package class diagram package ConfigServletTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.servlet.test.ConfigServletTest
All Implemented Interfaces:
junit.framework.Test

public class ConfigServletTest
extends junit.framework.TestCase

Author:
timp

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

ConfigServletTest

public ConfigServletTest(String name)
Constructor for ConfigServletTest.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testInitServletConfig

public void testInitServletConfig()
See Also:
ConfigServlet.init(ServletConfig)

testDoGetHttpServletRequestHttpServletResponse

public void testDoGetHttpServletRequestHttpServletResponse()
See Also:
ConfigServlet.doGet(HttpServletRequest, HttpServletResponse)

testDoPostHttpServletRequestHttpServletResponse

public void testDoPostHttpServletRequestHttpServletResponse()
See Also:
ConfigServlet.doPost(HttpServletRequest, HttpServletResponse)

testError

public void testError()
See Also:
ConfigServlet.error(Melati, Exception)

testConnectionPendingError

public void testConnectionPendingError()
                                throws Exception
Throws:
Exception
See Also:
ConfigServlet.error(Melati, Exception)

testExceptionDuringInit

public void testExceptionDuringInit()
                             throws Exception
Test expection thrown during initialisation.

Throws:
Exception

testWriteError

public void testWriteError()
See Also:
ConfigServlet.writeError(PrintWriter, Exception)

testWriteConnectionPendingException

public void testWriteConnectionPendingException()
See Also:
ConfigServlet.writeConnectionPendingException(PrintWriter, Exception)

testGetSysAdminName

public void testGetSysAdminName()
See Also:
ConfigServlet.getSysAdminName()

testGetSysAdminEmail

public void testGetSysAdminEmail()
See Also:
ConfigServlet.getSysAdminEmail()


Copyright © 2000-2010 PanEris. All Rights Reserved.