SMALL SAMPLE PROGRAMS:
These programs are used as our regression testing suite as well
as illustrating a few minor functions each time. As well as this
list, we have grouped the samples by feature.
- ooftst01, ooftst01.h
Results
Shows how to declare a single table database, create it and perform
operations to add data, do simple searches and combine selections.
Also makes use of separate files, rather than a single database
container.
- ooftst02, ooftst02.h
Results
Introduction to relationships, shows how to declare a relationship
between two classes and add related data. Uses an explicit Join
field.
- ooftst03
Results
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.
- ooftst04
Results
Shows two forms of report output. Keep the ooftest4.sav to compare
against the ooftest4.out you will produce.
- ooftst05
Results
Lets you test the dbDate field type input, looping around entering
sample dates and showing the resulting date parsed from your entry.
- ooftst06
Results
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).
- ooftst07, ooftst07.h
Results
Shows comparative and range searches on variety of keys, eg between
two numbers, dates, and char fields. The range searches are our
between() and outside() operators.
- ooftst08
Simple test of the inbuilt error-reporting dialog.
- ooftst09
Results
Shows deletion of a single record, including cascading deletion
of related child records.
- ooftst10
Results
Shows use of stream input to create records, eg: importing data
from a text file.
- ooftst11
Results
Shows using the data generator to generate random data to populate
a database (taken from a real project).
- ooftst12
Results
Shows declaring compound fields mixing char and binary data, and
searching and sorting by their indices.
- ooftst13
Results
A non-indexed version of ooftst01 which shows the same searches,
with an additional search in a selection.
- ooftst14
Results:
- Columnar plain htm
- PageWise plain htm
- Columnar NetScape tables
- PageWise NetScape tables
The same report as ooftst04 but using our htm report-writer to
produce 4 variations.
- ooftst15
Results
Demonstrates opening two databases sequentially - closing the
first before opening the second.
- ooftst16, ooftst16.h
Results
Very similar to ooftst02 and ooftst06 in demonstrating relationships,
but uses a direct pointer relationship managed entirely by OOFILE.
Includes searching by a related field.
- ooftst17, ooftst07.h
Results
Non-indexed searches and sorts on basic data types same as ooftst07,
but building the database without indexing.
- ooftst18
Results
Wildcard searching, using the same database as ooftst01, with
the * and ? wildcards.
- ooftst19
Results
Mixin inheritance used to provide virtual functions from an abstract
base class.
- ooftst20
Results
One way to create an ad-hoc query, eg: if you were giving the
user a GUI query interface.
- ooftst21
Results
Multi-level sorting and special Any Of and All Of searches for
single-pass searching with a number of character strings.
- ooftst22
Results
Tests various common errors that should be picked up with runtime
errors. (Note: the results do NOT show the alerts that occur at
each error.)
- ooftst23
Results
Rebuild a database, to regenerate the indices, showing how you
can add records with indexing disabled (much quicker) and then
rebuild.
- ooftst24
Results
Open two c-tree databases simultaneously and show data storage
and retrieval on both.
- ooftst25
Results
Create a RAM-based table from a c-tree table, containing the current
selection of data.
- ooftst26
Results
Counting related data and intersecting related data as is often
used in producing reports or graphs.
- ooftst27
Results
Word parser used in generating keyword indices is tested with
a few word lists to show how the 'stop word' lists and minimum
word length work to filter words from the index.
- ooftst28
Results
Keyword indexing and searches, with rebuilding of the indexes.
- ooftst29
Results
Calculated field Total Price used to show how a calculated field
is defined and can be used for searches and sorting.
- ooftst30
Results
Standalone field types used with a variety of constructors and
simple operations.
- ooftst31
Results
BLOBs stored in the database and updated, with various operations
changing their size and partial contents.
- ooftst32
Results
Boolean fields stored, indexed and used in searches.
- ooftst33
Results
Date format masks for output control plus Boolean and Char calculated
fields.
- ooftst34
Results
Persistent RAM database backend ability to save and revert the
whole database.
- ooftst35
Results
Tests the database backend relative access patterns similarly
to a GUI listbox being scrolled by a user.
- ooftst36
Results
Duplicate record handling by automatic skipping, duplicate value
tests and exceptions.
- ooftst37
Results
Copying from one database to another, eg: as if updating a schema.
- ooftst38
Results
Shows searches using indices that ignore nulls. Shows how to effectively
have multiple indices onto a single field using a trick with a
compound field.
- ooftst39
Results
Tests deletion of the whole database. Then tests if data stays deleted after
addition of similar, but new, data.
- ooftst40
Results
Uses the inbuilt test data generator to generate a large database.
Then demonstrates the use of recordNumber(query) on various selections,
comparing indexed vs non-indexed fields.
- ooftst41
Results
Shows the effect of opening a database when the table has a different
schema declared to that of the saved database. The results show
which fields are altered and tests include having fields of different
sizes and having extra or less fields than the database saved
on file.
- ooftst42 , ooftst42.h
Results
Description
- ooftst43
Results
Converts a number of embedded line endings to the current platform's
style.
- ooftst44
Results
Description
- ooftst45
Results
Description
Feature index
(c) Copyright A.D. Software 1994-2000 (All Rights Reserved).
Last Updated: 9th September 2001