Commit graph

475 commits

Author SHA1 Message Date
Colin Kuskie
c60393e44a Tests for createSurveyOrder and shuffle.
POD for several methods.
2008-12-12 00:03:16 +00:00
Colin Kuskie
1c1f01d473 Change ResponseJSON to use a proper mutator for startTime.
Add tests for startTime.
Survey uses the accessor, and no longer needs to manually set startTime.
2008-12-11 19:45:19 +00:00
Colin Kuskie
08bf6b5147 Flesh out the ResponseJSON test more. Add POD. 2008-12-10 02:25:42 +00:00
Colin Kuskie
8ea45fe456 Switch to using dclone from Clone::clone due to bugs under
perl 5.10
2008-12-05 04:21:43 +00:00
Colin Kuskie
ace2c81fca update SurveyJSON test to fix perl 5.10 misleading errors 2008-12-05 03:41:29 +00:00
Colin Kuskie
75da4c46bd Add more tests for coverage.
Interim checkin for debug assistance.
2008-12-05 03:32:47 +00:00
Colin Kuskie
a50c27de67 add POD, fix a few typos.
Add tests for updateQuestionAnswers
2008-12-04 23:35:40 +00:00
Colin Kuskie
75f6497924 Tests for getEditVars, getEditSectionVars and addAnswersToQuestion.
Add POD.
Fix a bug with setting verbatims in addAnswersToQuestion
2008-12-04 22:01:17 +00:00
Colin Kuskie
24fe2e6dc0 Add tests for getQuestionEditVars.
Refactor out the list of valid question types to make testing easier.
2008-12-04 20:47:42 +00:00
Colin Kuskie
0453f47bc1 Tests for getDragDrop and getAnswerEditVars.
More POD.
2008-12-04 20:18:49 +00:00
Colin Kuskie
d370772762 Make copy use safe references.
Add tests for remove, and copy.
2008-12-03 04:41:38 +00:00
Colin Kuskie
f41421058c Add wide character JSON encoding test. 2008-12-03 02:39:35 +00:00
Colin Kuskie
23f8e48f6d Update POD for several methods.
Make getObject clone data for safety and update tests.
Make newObject always alter $address for consistency and update tests.
2008-12-01 17:39:34 +00:00
Colin Kuskie
377126da8c Add more POD to SurveyJSON.
Add some basic tests for getObject, update and remove.
2008-11-30 04:30:40 +00:00
Colin Kuskie
020c882fb6 Test abusing references in getObject.
More insertObject testing.
More POD.
2008-11-29 17:29:00 +00:00
Colin Kuskie
fe33c87f13 Add tests for insertObject, and a helper method for summarizing the SurveyJSON data structure.
Add POD for insertObject.  Note that splicing beyond the end of the array will generate
a warning.
2008-11-29 05:32:14 +00:00
Colin Kuskie
63646aa497 rename test 2008-11-28 17:25:40 +00:00
Colin Kuskie
356772b722 Build Survey2 tests. Each survey2 module has at least a basic
load test, and the SurveyJSON module has many more tests in
it, testing new, log, newSection, newQuestion, newAnswer and
newObject.
2008-11-28 05:02:38 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Yung Han Khoe
ee2e0ad48d Added Matrix tests, fixed some bugs 2008-11-25 07:50:50 +00:00
Colin Kuskie
e2101ad8d2 Products imported by the Shelf do not have good URLs. 2008-11-24 22:19:06 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Graham Knop
dd90696d7c cleaning up warnings/variable redefinition and pod 2008-11-24 01:34:32 +00:00
Yung Han Khoe
79bfa826e0 Replaced Matrix with newer version 2008-11-19 19:01:34 +00:00
Patrick Donelan
564b4e90d1 Added skeleton Survey2 test file.
Changed debug logging from ERROR level to DEBUG
2008-11-13 22:39:29 +00:00
JT Smith
07519c7e98 fixed some caching and parsing problems 2008-11-12 21:11:19 +00:00
Doug Bell
f802044df3 added tests for movefield 2008-11-07 03:56:23 +00:00
JT Smith
ef6aedc862 - The Syndicated Content asset was rewritten, and now uses 35% less memory and is 400% faster. 2008-11-06 02:32:10 +00:00
Graham Knop
f90e08c93f fix DataTable test 2008-11-04 22:47:30 +00:00
Doug Bell
ac80e166a4 added testing for DataTable form and asset 2008-10-29 21:28:45 +00:00
Doug Bell
314035912d fixed DataForm/diagnose.t
Added find() and findAndLoad() to WebGUI::Pluggable and updated sbin/preload.perl
2008-10-27 16:16:18 +00:00
Colin Kuskie
0c320d8c01 write a basic test for appendTemplateVarsDateTime 2008-10-26 21:00:03 +00:00
Graham Knop
d5dfa451df added: WebGUI::AssetCollateral::DataForm::Entry object for managing DataForm entries 2008-10-23 10:21:08 +00:00
Yung Han Khoe
22f5565351 initial import of Matrix v2 files into Matrix branch 2008-10-20 16:17:27 +00:00
Graham Knop
9856cc5904 clean up tests some 2008-10-14 22:03:41 +00:00
Graham Knop
d12f0d2e30 make GalleryAlbum test run, and fix it 2008-10-05 19:42:52 +00:00
Colin Kuskie
a61bd107fa Add support for the original sku entry in the header. 2008-09-29 23:26:34 +00:00
Colin Kuskie
de889434da Let the product importer import files with windows style line endings. 2008-09-29 00:57:02 +00:00
Colin Kuskie
79c5425bcf Fix product exporting and importing through the Shelf.
Note that sku entries in the import and export file are now varSku.
2008-09-28 23:59:26 +00:00
Colin Kuskie
aaa1e0ab0e add a test for importing product tables when the headers and fields are quoted 2008-09-28 05:00:57 +00:00
Colin Kuskie
0f312d69b2 fix leaking products and shelves in test 2008-09-27 21:18:24 +00:00
Yung Han Khoe
1378ab0d41 Added field_loop to output of Thingy's www_getThingViaAjax method 2008-09-25 20:05:17 +00:00
Yung Han Khoe
976834a5a4 small changes in Thingy's web services methods, added Thingy tests 2008-09-24 16:24:14 +00:00
Patrick Donelan
dd5d0639b2 RFE - Teach Thingy to be a Web Service (http://www.plainblack.com/rfe/request-for-enhancement/teach-thingy-to-be-a-web-service) [Yung] 2008-09-24 07:10:46 +00:00
Colin Kuskie
3aefdb6ce5 fix syntax errors 2008-08-20 17:27:39 +00:00
Diona Kidd
94b20d8f49 Adding provision for testing hasTerms method 2008-08-20 02:04:55 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Colin Kuskie
68085e440f Fix the failing test, there were two issues.
1) _create_interleaved_items does not return anything useful.
2) $items, the first arg to the sub, has to be an array ref.
2008-08-08 17:56:23 +00:00
Colin Kuskie
2f72b6352c Remove debugging output. 2008-08-05 03:58:17 +00:00