- 4.1
- Tests the doLabPreferencePage()
function which should post a page of radio buttons set to the preferences
already saved under the faculty user’s name.
|
OK:
- No input: Connection
to the database should be made with the appropriate user name queried to
extract the current preferences.
ERROR:
- In the impossible case
that an invalid Username is queried, an error is generated, and the user
is notified.
|
- Benjamen Linden
- 04/23/2003
|
PASS:
- The database is
queried with the correct username, and the correct preferences are set
on the radio buttons.
- The database is
queried with an incorrect username, an error is returned.
FAIL:
|
- 4.2
- Tests the doSubmit()
function which takes the currently selected preferences on the radio
buttons, and updates the database with those preferences.
|
OK:
- The database entries
corresponding to the preferences of the user are updated.
ERROR:
- In the event that
database connection cannot be made, an error should be generated.
|
- Benjamen Linden
- 04/23/2003
|
PASS:
- The preference fields
are updated.
FAIL:
|