Commit graph

2 commits

Author SHA1 Message Date
Colin Kuskie
04911c04e9 removing diag output 2006-04-19 16:07:46 +00:00
Colin Kuskie
4e9eb32635 Added a new set of tests for checking the integrity of the WebGUI database.
The first tests, Asset_diagnose.t checks that assetIds match in tables
asset, assetData and each Asset's default table.

Asset/Wobject/DataForm_diagnose.t adds tests for verifying DataForm
collateral tables, DataForm_field and DataForm_tab.  With a few
small changes, the test could also cover the DataForm data tables,
DataForm_entry and DataForm_entryData.

The tests are optimized to do a quick preliminary test, and if this
test fails, then an in-depth test is run.  This second test will
run a VERY VERY VERY long time, but will tell you exactly what's
missing from your tables.

The new tests require the module Test::Deep, for comparing data structures.
2006-02-26 04:03:10 +00:00