Commit graph

670 commits

Author SHA1 Message Date
Colin Kuskie
adb099dcea Add test to make sure Import Node's parent is Asset Root. 2006-09-07 20:12:05 +00:00
Roy Johnson
6b2eeba271 Added test for import node constructor 2006-09-07 18:39:22 +00:00
Roy Johnson
da1b2d3581 test to check the getMedia asset constructor 2006-08-16 21:23:05 +00:00
Frank Dillon
0703c41165 added tests for newByHashref constructor 2006-08-16 13:52:19 +00:00
Colin Kuskie
000b2fcce3 Reverting previous work. Asset->new must return an Asset, even if
no className is passed and the invocant's class is Asset.  This is
due to the root.  In the db, the root Asset has the className WebGUI::Asset,
and the getRoot method matches this.
Changed the failing test in Asset.t to look for a WebGUI::Asset to be returned.
Added two tests to Asset.t to validate the object returned by Asset->getRoot method.
Reverted previous work and updated the POD for Asset->new.
2006-08-08 17:43:44 +00:00
Roy Johnson
2e80acb9e8 10 new tests for Asset 2006-08-02 19:38:55 +00:00
JT Smith
61eb59c7f8 bug fixes and new tests 2006-08-02 15:39:23 +00:00
Roy Johnson
93fc3bfa88 Started a new test suite for assets 2006-08-02 15:35:03 +00:00
Colin Kuskie
56ec67626d use Test::More::is_deeply instead of custom sub and implement check for simple inheritance in Asset classes 2006-06-15 22:33:36 +00:00
Colin Kuskie
c6342a6225 baseline testing for Asset versioning code 2006-05-17 03:52:52 +00:00
Colin Kuskie
04911c04e9 removing diag output 2006-04-19 16:07:46 +00:00
Colin Kuskie
03c79ce1d0 comment out debugging output 2006-04-03 16:00:33 +00:00
Colin Kuskie
9a6e77c4eb cleanup tests, make testCodebase.pl work with traditional --configFile syntax 2006-03-09 01:00:27 +00:00
Colin Kuskie
65590997b6 Fix error in TabForm POD (get vs getTab)
POD for WebGUI.pm
Table of Contents has tabbed interface
viewHelp filters tabs by the user's UI level
2006-03-06 16:30:11 +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
Colin Kuskie
9499e17cfd stricter template checking 2006-01-17 23:19:32 +00:00
Christian Hansen
831f5a36e1 ported t/A-M to use WebGUI::Test 2006-01-17 21:22:11 +00:00
JT Smith
3fd57a3559 more session related bug fixes 2006-01-17 05:36:56 +00:00
JT Smith
b1b4e50619 added a test for template 2006-01-17 05:09:57 +00:00
JT Smith
80a5518717 addding test for Template
fixed more session bugs
2006-01-17 03:57:18 +00:00