Name: |
Miriam Makepiece |
Assignment: |
Two |
Date
Due: |
22.03.04 |
Tutorial: |
1 |
LA TROBE UNIVERSITY
(Statement of Authorship as per University specifications)
Table of Contents
| 1. | UNIX-style Man Entry | 1 | |
| 2. | Test Plan | 2 | |
| 3. | Data & Data Type Abstractions | 3 | |
| 3.1 | External Data Structures | 3 | |
| 3.2 | Classes | 3 | |
| Appendix A | Source Code for Classes | 4 | |
| Appendix B | Large I/O files | 5 |
WardApp - Ward Management System
[java] /usr/local/pub/BITOOP/tutorials/WardEgMk3/WardApp
WardApp is a program for the managment of a database of patient information for a Hospital Ward. When it runs the user is presented with a graphical interface which allow the user to choose options from three separate menus on the menu bar:
patient.dat - text file (See Section 3.1, External Data Structures for line format)
Assumes the program is run interactively
Requires the Java Virtual Machine to be installed for execution
Assumes a bitmapped display monitor
WardApp is a management system for an individual ward of a hospital or nursing home only, i.e. it does not provide for multiple wards.
"No database file found - program starting with no data!" - when the program first starts it automatically looks for a default file called patient.dat. If the file is not present, the program continues after displaying the foregoing message. The user can then elect to open a file from the file menu or add patient data to create a new database.
"Save File?" - when the user attempts to exit the program without saving the current database, the program displays this message in an dialog box which gives the user the option of
...
...
none apparent
The program will be tested in terms of:
For actual result output, see:
http://ironbark.bendigo.latrobe.edu.au/~mary/WardApp/testPlan.html
| Test No | Reason | Data Used | Expected Result | Actual Result (and links) |
| File (External Data Structure) tests... | ||||
| 1 |
|
file (patient.dat) with records in format (int, String, String double) |
|
as expected (link) |
| 2 | ... | ... | ... | ... |
| 3 | ... | ... | ... | ... |
| Graphical Interface tests... | ||||
| ... | ... | ... | ... | ... |
| Internal Data Structure tests... | ||||
| ... | ... | ... | ... | ... |
| Major Logic tests... | ||||
| ... | ... | ... | ... | ... |
Identifier patient.dat Description stores the database of patient information Line format: comma separated details used for the creation of a object of the patient class (see class description in section 3.2)
see:
http://redgum.bendigo.latrobe.edu.au/~mary/WardApp/doc
(Java Source code for user written classes which comprise the application )
(Bulky data I/O files )