Class JOP.test.Test1
All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home

Class JOP.test.Test1

java.lang.Object
   |
   +----JOP.test.Test1

public class Test1
extends Object
implements PersistTest
These tests consist of 16 test programs that exercise the PersistManager.
  1. save a simple object with several types of slots
  2. read back and display object
  3. object reference to other object
  4. just like test3 but with inheritence
  5. object reference to other object via vector
  6. object reference other object and back again (loop)
  7. hashtable db to object to other object etc
  8. same as 7 with a normal hashtable
  9. measures performance of benchmark object
  10. tests update capability
  11. tests ability to pre-define object id's
  12. test RefDB
  13. test checksum works correctly
  14. data value regression test and readback - Native
  15. data value regression test and readback - Persistable
  16. named root objects
The test mechanism consists of a driver program that parses the command line, instantiates the required PersistManager and then invokes the 'runTest()' method on one of the above test patterns. There are currently 2 different driver programs.

To run a test type one of the following lines:

        java JOP.test.JdbcTest Test1 server usename password
                or
        java JOP.test.FileTest Test1 filename
    

Constructor Index

 o Test1()

Method Index

 o runTest(PersistManager)
This test gives a simple example of an object being streamed out.

Constructors

 o Test1
  public Test1()

Methods

 o runTest
  public void runTest(PersistManager pm)
This test gives a simple example of an object being streamed out.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home