Commit graph

1652 commits

Author SHA1 Message Date
Yung Han Khoe
4bf3f457de added a test for bugfix #9851: New Users have blank profile field privacy settings 2009-06-03 16:55:03 +00:00
Yung Han Khoe
15b197976e Adding Matrix tests 2009-06-03 13:22:32 +00:00
Patrick Donelan
5acade845a Fixed Survey test suite 'tagged' check to work with nested data 2009-06-03 07:15:52 +00:00
Colin Kuskie
61832b62b9 When a user is deleted, delete any address books as well. Uses the API to get the
Addresses, too.  With tests and upgrade script to take care of old address books.
2009-06-03 02:12:23 +00:00
Patrick Donelan
9702ffcaac Fixed Survey section-level branch precedence bug
For Sections with questions spread out over multiple pages, branch
expressions should only happen on the last page of the Section.
Added explicit test.
2009-06-03 02:12:00 +00:00
Patrick Donelan
da595da89e Remove bloat from Survey response record to reduce json serialisation time 2009-06-03 02:11:31 +00:00
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
JT Smith
5509cf4d1c work around for image magick bug 2009-06-02 22:56:07 +00:00
Doug Bell
939ad5a4bf added tests for packed templates 2009-06-02 08:28:52 +00:00
Doug Bell
b7bd11acb5 added tests for asset manager 2009-06-02 08:28:46 +00:00
Patrick Donelan
084a0c3105 Fixed naff Survey::takenCount bug, added explicit test for it 2009-06-02 02:42:37 +00:00
Colin Kuskie
8f09dc062d Add edit and delete icons to the Story Topic. Update tests. Adjust both
sets of templates.  Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
20a333cde8 Change caching on the SQLReport to be set by its cacheTimeout, even
when viewed standalone, and not part of a page.
2009-05-30 18:01:59 +00:00
Colin Kuskie
0bf47be7f4 Add a basic test for the Poll, adding votes and making a graph.
Add POD to Poll for setVote, and use placeholders in there.
2009-05-29 18:54:26 +00:00
Patrick Donelan
1a4b673843 Made Survey Test Suite feature was dependent on TAP::Parser and TAP::Parser::Aggregator 2009-05-29 01:04:45 +00:00
Colin Kuskie
67cce548ff Add enableSurveyExpressionEngine to default WebGUI conf file.
Rerun the upgrade subroutine to handle newer surveys.
Handle the config option being off in Survey/Test.t
2009-05-28 23:28:52 +00:00
Colin Kuskie
b74761619e More SKIP number fixes. 2009-05-28 23:03:19 +00:00
Colin Kuskie
cbb32cbce8 Fix number of skips in tests. 2009-05-28 22:46:25 +00:00
Colin Kuskie
4dd1089a00 Update test to track Matrix code for getListings. 2009-05-28 15:57:51 +00:00
Patrick Donelan
beff1d2166 Survey NYTProf performance improvements
initSurveyOrder now builds a lookup cache to speed up branching
Test suite caches surveyOrder and response itself
Unnecessary sub calls reduced
Updated tests
My largest survey instance test suite, which contains > 1000 tests,
now runs nearly 8 times faster.
2009-05-28 07:24:11 +00:00
Patrick Donelan
d14cf19e9d Added Survey tests for more question types 2009-05-28 07:23:43 +00:00
Colin Kuskie
83497b773e Fix Story permissions so that admin need not be turned on.
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +00:00
Colin Kuskie
12c6299159 Document the className option for preparing Maker/Permission. 2009-05-27 17:26:10 +00:00
Colin Kuskie
e88a5e2493 Forward port version tag fix. 2009-05-25 15:35:45 +00:00
Colin Kuskie
4a7d704bfc Forward port version tag tracking and leak fix. 2009-05-25 15:32:59 +00:00
Yung Han Khoe
dc48bd270b adding some Matrix tests 2009-05-25 15:22:23 +00:00
Colin Kuskie
689e645e51 Forward porting tests with better cleanups. 2009-05-25 04:42:40 +00:00
David Delikat
a054c9de73 added date pagination to EMS schedule table
also improved formatting of table
2009-05-24 22:51:39 +00:00
Patrick Donelan
3a25e806c6 Survey bug fixes
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00
Colin Kuskie
d3a874dd36 Update AssetExportHtml test to match new API for 7.7 2009-05-21 16:02:37 +00:00
Patrick Donelan
302e217e7a Survey test suite added support for checking answer properties 2009-05-21 08:22:11 +00:00
Patrick Donelan
f55559e124 Survey: fixed subtle bug in testing of answers with recordedAnswer set to q{} 2009-05-21 08:21:54 +00:00
Patrick Donelan
d246454b2f Survey: fixed bugs in handling of test setup & Slider question type 2009-05-21 08:21:35 +00:00
Patrick Donelan
8baf09948e Fixed bug where ResponseJSON was not properly resetting between
tests. Refactored out reset() sub to make it easy for people to
achieve reliable resetting of rJSON objects.
2009-05-21 08:21:17 +00:00
Colin Kuskie
4dc2d58a02 Fix a FilePump bug in handling file URIs that are directories. 2009-05-20 18:54:07 +00:00
Colin Kuskie
67df78608d Add a method to Storage to return the hex value of the storageId.
Add a test for it.
Convert Storage to use that everywhere, instead of calculating and recalculating it.
2009-05-20 18:37:00 +00:00
Colin Kuskie
ac9ccc496c More testing collateral. 2009-05-20 16:43:26 +00:00
Colin Kuskie
8373eaf585 Use different names so there is no clash when running tests in parallel. 2009-05-20 04:16:33 +00:00
Colin Kuskie
558fba2f6a Cleanup in Post tests. Set skipNotification to prevent emails from being queued during the tests. 2009-05-20 03:29:17 +00:00
Colin Kuskie
abb6ff29d5 Make sure that we don't delete things that have already been deleted. 2009-05-20 03:05:45 +00:00
David Delikat
0fb2b7775d added EMS Schedule table 2009-05-20 02:51:44 +00:00
Colin Kuskie
8de4e6fed2 Clean up changes to admin user, who has no friends. 2009-05-20 01:32:04 +00:00
Colin Kuskie
7f9dacb0d0 Always delete fresh copies of cached objects... 2009-05-20 01:31:45 +00:00
Colin Kuskie
5fdb7d8f02 Clean up queued email created when the inbox message is added. 2009-05-20 01:13:50 +00:00
Colin Kuskie
4051101926 Prevent Inbox from making emails during testing. 2009-05-20 01:05:22 +00:00
Colin Kuskie
f06b8c08fb In Thread tests, too. 2009-05-20 00:59:20 +00:00
Colin Kuskie
9d1829d5f5 Prevent emails from being sent out during the creation of assets. 2009-05-20 00:58:11 +00:00
Colin Kuskie
fa888ef434 Add mailQueue tracking to WEBGUI_TEST_DEBUG 2009-05-20 00:50:18 +00:00
Colin Kuskie
9a6a2e4549 Update this test to account for the new driver. 2009-05-19 22:16:57 +00:00
Colin Kuskie
5690b18125 Forward porting t/Mail/Send.t delay for server startup 2009-05-19 16:44:39 +00:00