test
Class ExceptionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.cactus.internal.AbstractCactusTestCase
              extended by org.apache.cactus.ServletTestCase
                  extended by org.apache.cactus.JspTestCase
                      extended by test.util.MakumbaJspTestCase
                          extended by test.ExceptionTest
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase

public class ExceptionTest
extends MakumbaJspTestCase

Tests for the way makumba handles expcetions FIXME this appears to be broken, cactus does not proceed the page but instead interrupts execution

Version:
$Id: ExceptionTest.java,v 1.1 May 11, 2008 3:25:44 AM manu Exp $
Author:
Manuel Gay

Nested Class Summary
 
Nested classes/interfaces inherited from class test.util.MakumbaJspTestCase
MakumbaJspTestCase.JspTest, MakumbaJspTestCase.MakumbaJspTestCaseDecorator, MakumbaJspTestCase.Suite
 
Field Summary
 
Fields inherited from class test.util.MakumbaJspTestCase
differentNameJspsMap, differentNameJspsReverseMap, jspDir, recording, submissionResponse, tests
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Constructor Summary
ExceptionTest()
           
 
Method Summary
 void endArrayIndexException(com.meterware.httpunit.WebResponse response)
           
 void endCompilationError(com.meterware.httpunit.WebResponse response)
           
 void endDataDefinitionNotFoundException(com.meterware.httpunit.WebResponse response)
           
 void endNoSuchFieldException(com.meterware.httpunit.WebResponse response)
           
 void endNullPointerException(com.meterware.httpunit.WebResponse response)
           
 void endNumberFormatException(com.meterware.httpunit.WebResponse response)
           
static junit.framework.Test suite()
           
 void testArrayIndexException()
           
 void testCompilationError()
           
 void testDataDefinitionNotFoundException()
           
 void testNoSuchFieldException()
           
 void testNullPointerException()
           
 void testNumberFormatException()
           
 void testTomcat()
           
 
Methods inherited from class test.util.MakumbaJspTestCase
compareTest, compareToFile, compareToFileWithTestName, differentNameJsps, disableTest, fetchValidTestResult, getFormInJsp, getFormInJsp, getFormInJspWithTestName, getFormInJspWithTestName, getJspDir, getJspResponse, getRecordingMode, includeJspWithTestName, makeJspDirSuite, makeJspSuite, makeSuite
 
Methods inherited from class org.apache.cactus.JspTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, 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
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Constructor Detail

ExceptionTest

public ExceptionTest()
Method Detail

suite

public static junit.framework.Test suite()

testTomcat

public void testTomcat()

testArrayIndexException

public void testArrayIndexException()
                             throws ServletException,
                                    IOException
Throws:
ServletException
IOException

endArrayIndexException

public void endArrayIndexException(com.meterware.httpunit.WebResponse response)
                            throws Exception
Throws:
Exception

testCompilationError

public void testCompilationError()
                          throws ServletException,
                                 IOException
Throws:
ServletException
IOException

endCompilationError

public void endCompilationError(com.meterware.httpunit.WebResponse response)
                         throws Exception
Throws:
Exception

testDataDefinitionNotFoundException

public void testDataDefinitionNotFoundException()
                                         throws ServletException,
                                                IOException
Throws:
ServletException
IOException

endDataDefinitionNotFoundException

public void endDataDefinitionNotFoundException(com.meterware.httpunit.WebResponse response)
                                        throws Exception
Throws:
Exception

testNoSuchFieldException

public void testNoSuchFieldException()
                              throws ServletException,
                                     IOException
Throws:
ServletException
IOException

endNoSuchFieldException

public void endNoSuchFieldException(com.meterware.httpunit.WebResponse response)
                             throws Exception
Throws:
Exception

testNullPointerException

public void testNullPointerException()
                              throws ServletException,
                                     IOException
Throws:
ServletException
IOException

endNullPointerException

public void endNullPointerException(com.meterware.httpunit.WebResponse response)
                             throws Exception
Throws:
Exception

testNumberFormatException

public void testNumberFormatException()
                               throws ServletException,
                                      IOException
Throws:
ServletException
IOException

endNumberFormatException

public void endNumberFormatException(com.meterware.httpunit.WebResponse response)
                              throws Exception
Throws:
Exception