Objectivity/DB
Last update - 26th November 1999.
Testing persistant collections in Objectivity/DB 5.2
Purpose
A set of test programs to test Objectivity/DB 5.2 persistant collections with a given class. ooTreeList class was used in examples - an ordered collection. The tests should give the users a framework to develop more comlicated programs.
- Test where made on SunOS 5.6 with C++ 4.2 compiler.
- For Linux -loo_co.5.20 in the Makefile should be change to -loo_co
- There is a README file for each test directory.
Test1
- Program files: /afs/cern.ch/rd45/tests/install/PC/1.
- Test check basic member function of ooTreeList class.
Test2
- Program files: /afs/cern.ch/rd45/tests/install/PC/2.
- There are two programs; one adds element to the list the other separete using "naming" reads element from the list.
Test3
- Program files: /afs/cern.ch/rd45/tests/install/PC/3.
- The program adds 1 000 000 objects to the list and reads them using iterator. reading is a little bit faster and putting objects to the list (built from int, int char[40]) takes about 10 minutes.
Test4
- Program files: /afs/cern.ch/rd45/tests/install/PC/4.
- The program adds objects to the list and reads them without using iterator. This really slows down all the processes and blocks CPU. In the test it took about 60 hours to read 800 000 objects.