org.melati.servlet.test
Class TemplateServletTest

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

public class TemplateServletTest
extends PoemServletTest

Author:
timp

Constructor Summary
TemplateServletTest(String name)
          Constructor for TemplateServletTest.
 
Method Summary
 void doGetPost()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testDoGetHttpServletRequestHttpServletResponse()
           
 void testDoPostHttpServletRequestHttpServletResponse()
           
 void testError()
           
 void testErrorUsesClasspathTemplet()
          Test that a templet on the classpath is used.
 void testGetSysAdminEmail()
           
 void testGetSysAdminName()
           
 void testPassbackAccessPoemExceptionHandling()
          Test passback AccessPoemException handling.
 void testPropagateAccessPoemExceptionHandling()
          Test propagation of AccessPoemException handling.
 void testWriteConnectionPendingException()
           
 
Methods inherited from class org.melati.servlet.test.PoemServletTest
testLDB, 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

TemplateServletTest

public TemplateServletTest(String name)
Constructor for TemplateServletTest.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class PoemServletTest
Throws:
Exception
See Also:
PoemServletTest.setUp()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PoemServletTest
Throws:
Exception
See Also:
PoemServletTest.tearDown()

testGetSysAdminName

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

testGetSysAdminEmail

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

testDoGetHttpServletRequestHttpServletResponse

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

testDoPostHttpServletRequestHttpServletResponse

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

doGetPost

public void doGetPost()
               throws Exception
Throws:
Exception

testError

public void testError()
               throws Exception
Overrides:
testError in class PoemServletTest
Throws:
Exception
See Also:
TemplateServlet.error(org.melati.Melati, Exception)

testErrorUsesClasspathTemplet

public void testErrorUsesClasspathTemplet()
                                   throws Exception
Test that a templet on the classpath is used.

Throws:
Exception
See Also:
TemplateServlet.error(org.melati.Melati, Exception)

testWriteConnectionPendingException

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

testPassbackAccessPoemExceptionHandling

public void testPassbackAccessPoemExceptionHandling()
                                             throws Exception
Test passback AccessPoemException handling.

Throws:
Exception

testPropagateAccessPoemExceptionHandling

public void testPropagateAccessPoemExceptionHandling()
                                              throws Exception
Test propagation of AccessPoemException handling.

Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.