Commit graph

107 commits

Author SHA1 Message Date
JT Smith
5fb4807edc merging commerce branch back into head 2008-04-20 18:08:26 +00:00
JT Smith
f6abe4561a perlDreamer is a 500 lb test mandating gorilla 2008-04-14 17:24:49 +00:00
JT Smith
f5ab66c0af add view cart test
add metadata to ems tickets
2008-04-14 16:22:47 +00:00
Doug Bell
ab6f4defe3 - moved Gallery utility methods to WebGUI::Utility::Gallery
- Added tests for GalleryAlbum RSS
- More tests for comments
- Test International Macro sprintf as third+ arguments
- Add Gallery search limiting by user ID
- Remaining i18n for Gallery templates
- Fix: Search form now visible in Photo assets
Moved a lot of stuff from Photo to GalleryFile
2008-03-20 18:51:44 +00:00
Colin Kuskie
9695b704c5 sideport new SQL.pm macro test for multiline output 2008-03-05 21:47:18 +00:00
Colin Kuskie
7fa4e945b5 Functional test for multiline output. 2008-03-05 21:30:44 +00:00
Doug Bell
1f10f07338 add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Graham Knop
16d47bd31b test fixes 2007-09-12 21:43:48 +00:00
Graham Knop
afdc412033 fix image library selection 2007-09-12 20:51:23 +00:00
Graham Knop
a6018f798c fix quote tests 2007-08-30 00:15:27 +00:00
Colin Kuskie
e97d44142a update test due to changes in i18n files 2007-07-24 03:35:34 +00:00
Colin Kuskie
2feb3b912c Javascript files are now detected as application/octet-stream. Updating test. 2007-07-11 18:24:30 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
37f6db428f Make Macro/Thumbnail.t more robust by not running downstream tests if
the file does not exist.

Fixed a bug I created by changing the order of update and change comparison
in Asset/File.pm.  This caused Asset/File.t, Asset/File/Image.t and
Macro/Thumbnail.t to fail.
2007-07-01 16:39:24 +00:00
Colin Kuskie
95506668ca add a test for the sessionId macro 2007-06-10 20:47:41 +00:00
JT Smith
f5f358ccf3 fixed tests
preparing for release
2007-05-23 17:42:51 +00:00
Colin Kuskie
7818789002 update tests for new noCache syntax 2007-03-09 16:59:52 +00:00
Colin Kuskie
76585a1daa Added a new method to WebGUI::HTML called makeParameter safe. It will
encode commas and single quotes to make the output safe to embed inside
of a macro.
Added tests to verify that it works correctly.
Updated the c_companyName macro to use makeParameterSafe.
Added tests to verify that the changed macro works okay.
Updated the c_companyName documentation.
Added a blurb to the gotchas file to cover the change to the macro.
2007-02-13 23:42:53 +00:00
Roy Johnson
83c2595c40 -7.3.6 stable release
-fixed the slash_gateway and pageurl macro tests so they didn't reak havoc on the rest of the test suite.
2007-01-24 17:32:57 +00:00
Colin Kuskie
66b59adde8 the Slash_gatewayUrl and PageUrl macros now accept optional URL arguments 2007-01-23 21:49:34 +00:00
Colin Kuskie
2c246c06cc fix a bug where updating the storageId in File Type assets did not update the cached storageLocation. Also fixed the Thumbnail Macro test 2006-12-09 06:05:26 +00:00
Colin Kuskie
332933337a re-re-fix FileUrl test with recommended method for building Assets 2006-12-09 04:48:03 +00:00
Colin Kuskie
6343f648e1 Fixed the failing FileUrl test and clearly document where the FileUrl macro
will work and where it will not.

This test failed due to an API change in WebGUI.  Before 7.3, if you created
a Storage object and then created an Asset with that Storage Id, then WebGUI
would do that happily.  This is actually a bug, because you could create multiple
Assets with that one Storage Id, and when _any_ of the Assets was deleted or
rolled back it would delete the Storage location and leave the other Assets
with that Id pointing to an empty Storage object.

So the API change is actually a bug fix, albeit being a side-effect of the
auto-commit work for posts and wikis.
2006-12-08 17:40:09 +00:00
Colin Kuskie
957642e1c6 added explicit test for comma processing 2006-11-29 05:08:14 +00:00
Colin Kuskie
9fb805525c skeleton tests for macros to get them into the coverage report 2006-09-15 21:22:48 +00:00
Colin Kuskie
2f0d7cab57 skeleton tests for macros to get them into the coverage report 2006-09-15 21:16:15 +00:00
Colin Kuskie
65374109b1 Final test for L_loginBox, and coverage improvements for RootTitle.
Pod and documentation fixes for L_loginBox macro.
2006-09-15 21:08:04 +00:00
Colin Kuskie
a1bf6a2b21 Coverage fixes for date and last modified macros.
Refactor LastModified macro to use placeholders and remove an unused conditional.
2006-09-14 22:22:35 +00:00
Colin Kuskie
a5049f8149 fix bad test coverage 2006-09-14 20:18:12 +00:00
Colin Kuskie
66d98f371c Update some POD in Stow and PageTitle.
Fix several tests with bad coverage.
2006-09-14 15:54:54 +00:00
Colin Kuskie
d95cd9b68d fix a very bad, simple text parser 2006-08-29 21:13:15 +00:00
Colin Kuskie
c2a89c49cb remove leftover debugging output 2006-08-13 04:38:14 +00:00
Colin Kuskie
4a88589621 bare beginning of a L_loginBox macro test 2006-08-11 23:44:49 +00:00
Colin Kuskie
b2340842a0 modify test to skip unreadable file test if user is root 2006-08-11 00:34:44 +00:00
Colin Kuskie
5efd737b6d more remote diagnostics 2006-08-09 21:07:04 +00:00
Colin Kuskie
a5d38396a1 more diagnostics for remote debug 2006-08-08 20:17:25 +00:00
Colin Kuskie
570668d2bc fix syntax error in test 2006-08-06 23:30:05 +00:00
Colin Kuskie
8ec18c957f more test debug output 2006-08-03 15:42:23 +00:00
Colin Kuskie
dd9c807166 Conditional load conversion.
In Page.t, place the newly created Snippet under a versionTag
so that it can be cleaned up at the end of the test.
2006-07-30 18:34:47 +00:00
Colin Kuskie
78c33c54ff Added corner tests for empty string and undef.
Converted tests to handle skipping if the macro can't be loaded.
2006-07-30 07:39:49 +00:00
Colin Kuskie
818ab4a690 conditional load check and fix default param tests 2006-07-30 04:03:46 +00:00
Colin Kuskie
55b60631c9 conditional load conversion, default parameter updates
Added a TODO for D_date to find a way to test not sending an explicit time.
2006-07-30 03:55:21 +00:00
Colin Kuskie
4c65000be5 conditional load check and fix default param tests 2006-07-30 01:13:19 +00:00
Colin Kuskie
0baf20af33 Add use_ok for module loading.
Added corner cases for null admin text and undef (missing) admin text.
2006-07-30 01:07:17 +00:00
Colin Kuskie
d756069c43 instrumented to abort tests if the macro does not load 2006-07-29 23:43:13 +00:00
Colin Kuskie
5e7c0faf68 During the rework of the Macro tests to only test the macro procedure
instead of the macro processor, all tests which default behavior (no parameters)
were broken.
The next series of test commits will remedy this on all tests.  Also during
this time, each test will be augmented to abort the test if the Macro
cannot be loaded.
2006-07-29 23:38:32 +00:00
Colin Kuskie
433521f30f LoginToggle test 2006-07-29 23:25:07 +00:00
Colin Kuskie
f7b4367205 remote debug of smoke-test setup 2006-07-29 22:28:04 +00:00
Colin Kuskie
e84c58bd66 prototyping conditional tests based on Macro load. There is no sense running the tests if there are syntax errors in the code. 2006-07-29 04:03:17 +00:00