Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.bugbase.test.login
Class JspAccessTestCase  view JspAccessTestCase download JspAccessTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.cactus.internal.AbstractCactusTestCase
              extended byorg.apache.cactus.ServletTestCase
                  extended byorg.apache.cactus.JspTestCase
                      extended byopenfuture.bugbase.test.common.JspBaseTestCase
                          extended byopenfuture.bugbase.test.login.JspAccessTestCase
All Implemented Interfaces:
org.apache.cactus.internal.CactusTestCase, junit.framework.Test

public class JspAccessTestCase
extends openfuture.bugbase.test.common.JspBaseTestCase

Test all JSPs that require a login, if the login is correctly requested.

Created: Wed Oct 31 16:04:12 2001

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class openfuture.bugbase.test.common.JspBaseTestCase
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Fields inherited from class org.apache.cactus.internal.AbstractCactusTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JspAccessTestCase(java.lang.String name)
          Creates a new JspAccessTestCase instance.
 
Method Summary
 void beginEditBugReport(org.apache.cactus.WebRequest request)
          Log off and call EditBugReport.jsp.
 void beginEditRegistration(org.apache.cactus.WebRequest request)
          Log off and call EditRegistration.jsp.
 void beginIndex(org.apache.cactus.WebRequest request)
          Log off and call index.jsp.
 void beginNewBugReport(org.apache.cactus.WebRequest request)
          Log off and call NewBugReport.jsp.
 void beginSearchReports(org.apache.cactus.WebRequest request)
          Log off and call SearchReports.jsp.
 void beginViewReports(org.apache.cactus.WebRequest request)
          Log off and call ViewReports.jsp.
 void testEditBugReport()
          Test, if the edit bug report page is present.
 void testEditRegistration()
          Test, if the edit registration page is present.
 void testIndex()
          Test, if the entry page is present.
 void testNewBugReport()
          Test, if the new bug report page is present.
 void testSearchReports()
          Test, if the search reports page is present.
 void testViewReports()
          Test, if the view reports page is present.
 
Methods inherited from class openfuture.bugbase.test.common.JspBaseTestCase
copyCookies, findLoginForm, findLogoffForm, getLog, getProperties, isLoginForm, isLogoffForm, login, loginPage, logoff, logoffPage, setProperties, setURL
 
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

JspAccessTestCase

public JspAccessTestCase(java.lang.String name)
Creates a new JspAccessTestCase instance.

Method Detail

beginNewBugReport

public void beginNewBugReport(org.apache.cactus.WebRequest request)
                       throws java.lang.Exception
Log off and call NewBugReport.jsp.


testNewBugReport

public void testNewBugReport()
                      throws java.lang.Exception
Test, if the new bug report page is present. (Actually does nothing.)


beginEditBugReport

public void beginEditBugReport(org.apache.cactus.WebRequest request)
                        throws java.lang.Exception
Log off and call EditBugReport.jsp.


testEditBugReport

public void testEditBugReport()
                       throws java.lang.Exception
Test, if the edit bug report page is present. (Actually does nothing.)


beginEditRegistration

public void beginEditRegistration(org.apache.cactus.WebRequest request)
                           throws java.lang.Exception
Log off and call EditRegistration.jsp.


testEditRegistration

public void testEditRegistration()
                          throws java.lang.Exception
Test, if the edit registration page is present. (Actually does nothing.)


beginSearchReports

public void beginSearchReports(org.apache.cactus.WebRequest request)
                        throws java.lang.Exception
Log off and call SearchReports.jsp.


testSearchReports

public void testSearchReports()
                       throws java.lang.Exception
Test, if the search reports page is present. (Actually does nothing.)


beginViewReports

public void beginViewReports(org.apache.cactus.WebRequest request)
                      throws java.lang.Exception
Log off and call ViewReports.jsp.


testViewReports

public void testViewReports()
                     throws java.lang.Exception
Test, if the view reports page is present. (Actually does nothing.)


beginIndex

public void beginIndex(org.apache.cactus.WebRequest request)
                throws java.lang.Exception
Log off and call index.jsp.


testIndex

public void testIndex()
               throws java.lang.Exception
Test, if the entry page is present. (Actually does nothing.)