org.melati.servlet.test
Class PoemServletTest

Package class diagram package PoemServletTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.servlet.test.PoemServletTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TemplateServletTest

public class PoemServletTest
extends junit.framework.TestCase

Author:
timp

Constructor Summary
PoemServletTest(String name)
          Constructor for PoemServletTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDoGetHttpServletRequestHttpServletResponse()
           
 void testDoPostHttpServletRequestHttpServletResponse()
           
 void testError()
           
 void testGetSysAdminEmail()
           
 void testGetSysAdminName()
           
 void testLDB()
          Test logical database.
 void testPrePoemSession()
           
 
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

PoemServletTest

public PoemServletTest(String name)
Constructor for PoemServletTest.

Parameters:
name -
Method Detail

setUp

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

tearDown

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

testGetSysAdminName

public void testGetSysAdminName()
                         throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException
See Also:
PoemServlet.getSysAdminName()

testGetSysAdminEmail

public void testGetSysAdminEmail()
                          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException
See Also:
PoemServlet.getSysAdminEmail()

testPrePoemSession

public void testPrePoemSession()
See Also:
PoemServlet.prePoemSession(Melati)

testDoGetHttpServletRequestHttpServletResponse

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

testDoPostHttpServletRequestHttpServletResponse

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

testError

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

testLDB

public void testLDB()
             throws Exception
Test logical database.

Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.