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.
- save a simple object with several types of slots
- read back and display object
- object reference to other object
- just like test3 but with inheritence
- object reference to other object via vector
- object reference other object and back again (loop)
- hashtable db to object to other object etc
- same as 7 with a normal hashtable
- measures performance of benchmark object
- tests update capability
- tests ability to pre-define object id's
- test RefDB
- test checksum works correctly
- data value regression test and readback - Native
- data value regression test and readback - Persistable
- 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
-
Test1()
-
-
runTest(PersistManager)
- This test gives a simple example of an object being
streamed out.
Test1
public Test1()
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