next up previous contents
Next: CtoCconnection Up: The Client Previous: The Client   Contents

Contact and ContactsDB

A program that carried out the following tests was run:
  1. Create a Contact object to represent the user. Call Contact::setInfo() and ContactsDB::setOurInfo(). Retrieve the information again using ContactsDB::getOurInfo() and print to STDOUT so the effects of all three methods can be verified.
  2. Create a Contact and add it to the contact list. Retrieve the information again.
  3. Attempt to retrieve the information for a non-existent user.
  4. Delete the user inserted at 2.
  5. Attempt to the delete the user again.
Output from this test run is shown in appendix A.4.1.



Nathan Dimmock 2001-06-20