openfuture.bugbase.test.access
Class AddUserErrorsTestCase

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--junit.log4j.LoggedTestCase
                    |
                    +--openfuture.bugbase.test.common.BusinessTestCase
                          |
                          +--openfuture.bugbase.test.access.AddUserErrorsTestCase
All Implemented Interfaces:
junit.framework.Test

public class AddUserErrorsTestCase
extends BusinessTestCase

Error cases for adding a new user.

Created: Mon Oct 29 19:33:53 2001

Version:
$Revision: 1.1 $
Author:
Wolfgang Reissenberger

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

AddUserErrorsTestCase

public AddUserErrorsTestCase(java.lang.String name)
Method Detail

testAddNewUserMissingUserId

public void testAddNewUserMissingUserId()
                                 throws java.lang.Exception
Try to add a new user:
Throws:
java.lang.Exception - if an error occurs


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.