Commit graph

1366 commits

Author SHA1 Message Date
Colin Kuskie
75ad1c14ff Only clone the data from Setting. This prevents trying to close the
session dbh twice and getting odd warning messages.
2009-04-10 16:27:31 +00:00
Graham Knop
17cd847378 adjusting tests for new behavior 2009-04-10 00:51:49 +00:00
Graham Knop
edca468d50 prevent test from leaking users and surveys 2009-04-10 00:51:44 +00:00
Patrick Donelan
546d48f68b Updated Survey tests to not leave behind versionTag 2009-04-09 04:17:23 +00:00
Patrick Donelan
aa8379188a Survey branch expressions can now resolve score()s and value()s from
other survey instances.
2009-04-09 04:04:39 +00:00
Colin Kuskie
0f73a20a03 add tests for RSS feeds for the Collaboration 2009-04-08 21:05:07 +00:00
Yung Han Khoe
4f5963757d added tests for Carousel wobject 2009-04-08 17:17:01 +00:00
Patrick Donelan
a7cb9b031d Made Survey ExpressionEngine disabled by default, controlled via config
file enableSurveyExpressionEngine flag
Added branching based on question score and section score total
Added more tests
2009-04-08 08:12:44 +00:00
Patrick Donelan
9ea4f1cd20 Replaced Survey parseGotoExpression with dedicated ExpressionEngine.
Improved gotoExpression validation error reporting
Added lots more tests
2009-04-08 08:12:14 +00:00
Colin Kuskie
1be18dad59 Restore the Account.t test 2009-04-07 21:12:56 +00:00
Patrick Donelan
c1b18ea9bb Some fixes to the way Survey handles recordedAnswer, value, etc.. 2009-04-07 07:15:33 +00:00
Colin Kuskie
22665cbdf3 Add a few tests for Group coverage. 2009-04-04 02:33:33 +00:00
Colin Kuskie
b184121305 Forward port leaky test fix with cleaning up the cart. 2009-04-02 22:25:07 +00:00
Colin Kuskie
60a3906b05 Add a creation date to the Cart.
Use that date to expire carts older than an interval, via a new workflow.
Config file changes, tests, i18n.
2009-04-02 21:58:45 +00:00
Colin Kuskie
7a4b6fd68e Remove a duplicate test. 2009-04-02 17:40:06 +00:00
Colin Kuskie
ae3b94c242 Output subroutines missing POD regardless of coverage threshold.
Fix the threshold to work correctly based on ENV.
2009-04-02 16:58:38 +00:00
Colin Kuskie
ae4917a644 POD.t should be run all the time, as well. 2009-04-02 16:47:27 +00:00
Colin Kuskie
77252517a0 Account for asset collateral in generated files for the AssetExportHtml test. 2009-04-02 16:46:07 +00:00
Graham Knop
ca4a9add6d RssFeed fixes and cleanups 2009-04-02 16:24:44 +00:00
Patrick Donelan
c1ac5b9761 Fixed SurveyJSON->questions which was short-changing getGotoTargets 2009-04-02 05:55:23 +00:00
Patrick Donelan
be4133d72c Improved Survey validation messages 2009-04-02 05:04:23 +00:00
Colin Kuskie
b6e980893e Update this test to work with the new RSS Aspect. 2009-04-02 04:41:43 +00:00
Patrick Donelan
654f8d6b72 Rewrote Survey gotoExpression tests now that we have perl power in
expressions
2009-04-02 01:54:21 +00:00
Patrick Donelan
3d70a213cc Made Survey branch expressions eval in safe compartment 2009-04-02 01:53:58 +00:00
Colin Kuskie
374840382f Shipper is no longer checked by readyForCheckout. Update
test to follow.
2009-04-02 00:04:53 +00:00
Colin Kuskie
1341ebfbd1 Add more configuration to the POD coverage test. POD_COVERAGE==2 will check against 100%
coverage and emit a list of modules that POD to be covered.
2009-04-01 04:27:00 +00:00
Colin Kuskie
2cb8f0ee9a Coverage tests for various User methods. 2009-04-01 03:10:52 +00:00
Kaleb Murphy
f85c9fa8f8 Rolling back inadverent changes. 2009-03-31 04:12:23 +00:00
Kaleb Murphy
e73a7645a7 Survey now shows warnings if bad goto, bad gotoExpressions, no question text, survey looping,
or no question answers are found.
2009-03-31 04:08:44 +00:00
Colin Kuskie
83b2657197 add a whole bunch of tests for previously uncovered methods, and improving coverage on some methods 2009-03-31 03:22:41 +00:00
Graham Knop
7a650bb8a3 a few more macro quoting test cases 2009-03-31 00:07:40 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Colin Kuskie
6f3aae261b Fix a typo in a test, looking at the wrong table. 2009-03-30 20:27:17 +00:00
Colin Kuskie
4e2a8bab91 Bump up the version for Clone, since the new version works with
perl 5.10.
Have SurveyJSON use it instead of dclone.
2009-03-30 19:47:27 +00:00
Colin Kuskie
05d62c92b7 Have Setting's get work like other gets by returning a hashref when
no param is requested.
2009-03-30 19:46:16 +00:00
Colin Kuskie
1e38087d80 Tests for profileIsViewable, with high coverage. 2009-03-29 04:39:51 +00:00
Colin Kuskie
06a714ea0c Add tests for acceptsFriendsRequest. 2009-03-29 04:13:54 +00:00
Colin Kuskie
9e1b9d2f49 Add tests for hasFriends with 100% coverage. 2009-03-28 05:12:23 +00:00
Colin Kuskie
39785cf169 Add tests for 100% coverage of getProfileUrl 2009-03-28 04:55:13 +00:00
Colin Kuskie
1e268ee238 Make User.t use the new automatic config file restorer.
Clean up some END block code.
2009-03-28 03:57:30 +00:00
Colin Kuskie
b61ef2c91f Provide a way for config file settings to be restored at the end of a test,
via the END block in WebGUI::Test.
2009-03-28 03:53:26 +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
Graham Knop
4b5b4b9cb0 test fix 2009-03-27 02:03:18 +00:00
Kaleb Murphy
569151c4ad Fixing the fix that shouldnt have been fixed. 2009-03-26 23:32:01 +00:00
Kaleb Murphy
9c60e75cf7 Text has changed 2009-03-26 23:27:14 +00:00
Graham Knop
c4740f76a3 fix bug in WebGUI::AdSpace::Ad, remove some more CODE_COP checks 2009-03-26 23:23:34 +00:00
Graham Knop
f25f9aae25 another test fix 2009-03-26 23:23:29 +00:00
Graham Knop
c1d04f220a more bug/test fixes 2009-03-26 22:12:21 +00:00
Graham Knop
c91878c9a3 test fixes and small cleanups 2009-03-26 21:44:55 +00:00
Colin Kuskie
cab6c18372 remove Test::Class based tests that fail under 5.10 on various operating
systems.
2009-03-26 21:42:26 +00:00