test.util
Class MakumbaJspTestCase.JspTest

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.util.MakumbaJspTestCase.MakumbaJspTestCaseDecorator
                              extended by test.util.MakumbaJspTestCase.JspTest
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase
Enclosing class:
MakumbaJspTestCase

public static final class MakumbaJspTestCase.JspTest
extends MakumbaJspTestCase.MakumbaJspTestCaseDecorator


Nested Class Summary
 
Nested classes/interfaces inherited from class test.util.MakumbaJspTestCase
MakumbaJspTestCase.JspTest, MakumbaJspTestCase.MakumbaJspTestCaseDecorator, MakumbaJspTestCase.Suite
 
Field Summary
(package private)  String test
           
 
Fields inherited from class test.util.MakumbaJspTestCase.MakumbaJspTestCaseDecorator
decorated
 
Fields inherited from class test.util.MakumbaJspTestCase
differentNameJspsMap, differentNameJspsReverseMap, disabledTests, 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
MakumbaJspTestCase.JspTest()
          only invokved at server side therefore the server-side object is a bit dumb because it wraps nobody
MakumbaJspTestCase.JspTest(MakumbaJspTestCase decorated, String testName)
          decorate a test class to run one of its tests
 
Method Summary
 void begin(org.apache.cactus.Request request)
          invoked by cactus at test begin, on client
 void end(com.meterware.httpunit.WebResponse response)
          invoked by cactus at the end, on client
 String getName()
          test name
 void runBareServer()
          invoked by cactus on server
 
Methods inherited from class test.util.MakumbaJspTestCase.MakumbaJspTestCaseDecorator
getJspDir, getRecordingMode
 
Methods inherited from class test.util.MakumbaJspTestCase
compareTest, compareToFile, compareToFileWithTestName, differentNameJsps, disableTest, fetchValidTestResult, getFormInJsp, getFormInJsp, getFormInJspWithTestName, getFormInJspWithTestName, getJspResponse, includeJspWithTestName, makeJspDirSuite, makeJspSuite, makeSuite
 
Methods inherited from class org.apache.cactus.JspTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, 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
 

Field Detail

test

String test
Constructor Detail

MakumbaJspTestCase.JspTest

public MakumbaJspTestCase.JspTest()
only invokved at server side therefore the server-side object is a bit dumb because it wraps nobody


MakumbaJspTestCase.JspTest

public MakumbaJspTestCase.JspTest(MakumbaJspTestCase decorated,
                                  String testName)
decorate a test class to run one of its tests

Method Detail

begin

public void begin(org.apache.cactus.Request request)
           throws Exception
invoked by cactus at test begin, on client

Throws:
Exception

runBareServer

public void runBareServer()
                   throws Exception
invoked by cactus on server

Specified by:
runBareServer in interface org.apache.cactus.internal.CactusTestCase
Overrides:
runBareServer in class org.apache.cactus.internal.AbstractCactusTestCase
Throws:
Exception

end

public void end(com.meterware.httpunit.WebResponse response)
         throws Exception
invoked by cactus at the end, on client

Throws:
Exception

getName

public String getName()
test name

Overrides:
getName in class junit.framework.TestCase