home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / docs / valprogs.txt < prev    next >
Encoding:
Text File  |  1995-09-21  |  2.1 KB  |  55 lines  |  [TEXT/ttxt]

  1. VALIDATION SUITE:
  2. These programs show how to use certain aspects of OOFILE and act as a standard
  3. against which each release is validated and results checked on different 
  4. platforms.
  5.  
  6. SUMMARY
  7. ooftest-1.cpp
  8. shows how to declare a single table database, create it and perform operations
  9. to add data, do simple searches and combine selections.
  10. Also makes use of separate files, rather than a single database container.
  11.  
  12. ooftest-2.cpp
  13. Introduction to relations, shows how to declare a relation between two tables
  14. and add related data.
  15.  
  16. ooftest-3.cpp
  17. Tests the multi-user mode. Note that on a Mac, the test database needs to be on a shared volume to enable multi-user locking. Personal filesharing on a Mac does 
  18. not provide locking for local access to a shared file - you can't run the test program on the machine containing the shared volume.
  19.  
  20. ooftest-4.cpp, ooftest4.sav
  21. Shows two forms of report output. Keep the ooftest4.sav to compare against
  22. the ooftest4.out you will produce.
  23.  
  24. ooftest-5.cpp
  25. Lets you test the dbDate field type input, looping around entering sample dates and showing the resulting date parsed from your entry.
  26.  
  27. ooftest-6.cpp
  28. Shows how to modify related values, testing both direct calls and view-related calls (which would be used by an embedded table editing groups of related records).
  29.  
  30. ooftest-7.cpp
  31. Shows comparative and range searches on variety of keys
  32.  
  33. ooftest-8.cpp
  34. Tests the error reporting dialogs.
  35.  
  36. ooftest-9.cpp
  37. Shows deletion of a single record, with related child records and all records.
  38.  
  39. ooftest10.cpp
  40. Shows use of streams to create records, eg: for importing data.
  41.  
  42. ooftest11.cpp
  43. Shows using the test data generator to generate random data to populate a database (taken from a real project).
  44.  
  45. ooftest12.cpp
  46. Shows declaring compound fields mixing char and binary data, and searching and sorting by their indices.
  47.  
  48.  
  49. SPECIAL INSTRUCTIONS
  50. ooftest-3
  51. You must copy the ooftest2.db file produced by ooftest2 and call it ooftest3.db The file will be randomly modified during the multi-user test.
  52.  
  53. ooftest-6
  54. You must copy the ooftest2.db file produced by ooftest2 and call it ooftest6.db The file will be slightly modified during the test.
  55.