Patrick Donelan
216a48580a
Fixed #9927 Survey - verbatim
...
Fixed inconsistencies between answer 'comment' and 'verbatim'.
Updated tests.
Made minor changes to reporting methods but they still need some love.
2009-06-03 00:29:29 +00:00
Patrick Donelan
084a0c3105
Fixed naff Survey::takenCount bug, added explicit test for it
2009-06-02 02:42:37 +00:00
Patrick Donelan
d14cf19e9d
Added Survey tests for more question types
2009-05-28 07:23:43 +00:00
Patrick Donelan
4d181da7f9
SurveyJSON bug fixes
...
Fixed bug in SurveyJSON::update to stop it updating questionType when not asked
Fixed unsafe reference bug in SurveyJSON::getMultipleChoiceBundle
Added more Survey Test Suite tests
2009-05-16 07:24:55 +00:00
Patrick Donelan
6815cd76aa
Improved handling of Survey restart
2009-05-13 02:10:34 +00:00
Patrick Donelan
79db642219
Refactored Survey for more happy endings
...
Refactored www_submitQuestions to use utility submitQuestions sub (for ease of testing)
Replaced numeric flags, completedCode etc..
Added restart() and exitUrl() to the Expression Engine
Added more Survey instance tests
2009-05-12 12:36:26 +00:00
Patrick Donelan
9e2cdeca13
Added some tests for Survey visualization
2009-05-11 11:06:55 +00:00
Colin Kuskie
d83f1fd5fc
Last batch of User and Group cleanups.
2009-05-01 03:29:32 +00:00
Patrick Donelan
07e03c7b15
Fixed Survey to follow convention that a value of 0 for maxResponsesPerUser
...
should imply unlimited. Updated tests and docs to match.
2009-03-27 05:12:57 +00:00
Patrick Donelan
b1b033afa5
Added Survey Workflow onSurveyEndWorkflowId
...
Fixed username bug
2009-03-15 06:34:37 +00:00
Patrick Donelan
34340e56fb
Added Survey::surveyJSON_* convenience methods that auto-persist to the db
2009-02-12 01:07:22 +00:00
Patrick Donelan
7128a3d07c
More Survey.pm refactoring
...
Turned getResponseId into a lazy-loading responseId mutator
Added responseIdCookies flag as a workaround for WebGUI::Test::getPage's
lack of cookie support
2009-02-11 09:27:31 +00:00
Patrick Donelan
e139136d08
Made Survey->surveyJSON lazy-load so that you don't have to call
...
loadSurveyJSON() everywhere.
2009-02-11 09:26:50 +00:00
Patrick Donelan
8d7599d781
Moved Survey.pm's "survey" and "response" properties to private hash
...
vars and added accessors.
So that you don't end up with mind-bending code that looks like:
$survey->survey->{survey}
2009-02-11 09:26:27 +00:00
Patrick Donelan
d882181fd1
Started refactoring the Survey.pm Wobject class
...
Refactored www_jumpTo and added tests
Added Params::Validate
Improved docs
Made call to SurveyJSON->createSurveyOrder() unnecessary
Turned ResponseJSON->nextResponse a mutator
2009-02-11 09:25:42 +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
Patrick Donelan
564b4e90d1
Added skeleton Survey2 test file.
...
Changed debug logging from ERROR level to DEBUG
2008-11-13 22:39:29 +00:00