|
|||||||||
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.AddUserErrorsTestCase
Error cases for adding a new user.
Created: Mon Oct 29 19:33:53 2001
Fields inherited from class junit.log4j.LoggedTestCase |
category, isLog4jInClasspath |
Constructor Summary | |
AddUserErrorsTestCase(java.lang.String name)
|
Method Summary | |
void |
testAddNewUserMissingUserId()
Try to add a new user: Login as admin user. Try to add a new user. If this causes a I18NException , everything is OK. |
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 AddUserErrorsTestCase(java.lang.String name)
Method Detail |
public void testAddNewUserMissingUserId() throws java.lang.Exception
I18NException
, everything is OK. Otherwise
an Exception is thrown, since the userid is missing.java.lang.Exception
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |