|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--junit.log4j.LoggedTestCase
|
+--openfuture.bugbase.test.common.BusinessTestCase
|
+--openfuture.bugbase.test.access.JspAccessTestCase
Test all JSPs that require a login, if the login is correctly requested.
Created: Wed Oct 31 16:04:12 2001
| Fields inherited from class junit.log4j.LoggedTestCase |
category, isLog4jInClasspath |
| Constructor Summary | |
JspAccessTestCase(java.lang.String name)
Creates a new JspAccessTestCase instance. |
|
| Method Summary | |
protected void |
callPage(java.lang.String jsp,
java.lang.String action)
Login into the given JSP page. |
void |
testEditBugReport()
Test, if the bug report edit page EditBugReport.jsp is
access protected. |
void |
testEditRegistration()
Test, if the edit registration page EditRegistration.jsp is
access protected. |
void |
testIndex()
Test, if the entry page index.jsp is
access protected. |
void |
testNewBugReport()
Test, if the new bug report page NewBugReport.jsp is
access protected. |
void |
testSearchReports()
Test, if the bug report search page SearchReports.jsp is
access protected. |
void |
testViewReports()
Test, if the bug reports view page ViewReports.jsp is
access protected. |
| Methods inherited from class openfuture.bugbase.test.common.BusinessTestCase |
callPage, createAdminUser, createCompleteBugReport, createCompleteBugReport, createDoctorUser, createNormalUser, createNormalUser, createUniqueUserId, fillReportForm, findForm, findLink, findLinkByText, getAdminUser, getClient, getDoctorUser, getNormalUser, getResourceBundle, getUniqueFilename, hasReasonKey, isUniqueUserId, login, login, loginPage, loginPage, logoff, logoffPage, searchUser, setAdminUser, setClient, setDefault, setDoctorUser, setNormalUser, setResourceBundle, setUp, tearDown |
| Methods inherited from class junit.log4j.LoggedTestCase |
debug, debug, error, error, fatal, fatal, getProperties, info, info, setProperties, warn, warn |
| 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 |
public JspAccessTestCase(java.lang.String name)
JspAccessTestCase instance.name - test case name| Method Detail |
public void testNewBugReport()
throws java.lang.Exception
NewBugReport.jsp is
access protected.java.lang.Exception - if an error occurs
public void testEditBugReport()
throws java.lang.Exception
EditBugReport.jsp is
access protected.java.lang.Exception - if an error occurs
public void testEditRegistration()
throws java.lang.Exception
EditRegistration.jsp is
access protected.java.lang.Exception - if an error occurs
public void testSearchReports()
throws java.lang.Exception
SearchReports.jsp is
access protected.java.lang.Exception - if an error occurs
public void testViewReports()
throws java.lang.Exception
ViewReports.jsp is
access protected.java.lang.Exception - if an error occurs
public void testIndex()
throws java.lang.Exception
index.jsp is
access protected.java.lang.Exception - if an error occurs
protected void callPage(java.lang.String jsp,
java.lang.String action)
throws java.lang.Exception
jsp - JSP page nameaction - action substring to be recognizedjava.lang.Exception - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||