Commit graph

124 commits

Author SHA1 Message Date
Colin Kuskie
8fa164200a Add more AdminBar tests.
Fix adminbar macro to handle bad asset classes without dying.
2008-12-12 03:24:09 +00:00
Graham Knop
6073703999 some fixes after Storage and Storage::Image merge 2008-12-03 00:33:13 +00:00
JT Smith
782a4396b5 The deprecated use of Graphics::Magick has been eliminated. WebGUI uses
Image::Magick exclusively for all image processing functions once again.
2008-11-26 17:00:26 +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
Colin Kuskie
1ebec1e05f Update the UsersOnline test so that all tests pass. 2008-11-05 05:13:12 +00:00
JT Smith
b41c1639a1 - Inclusion of UsersOnline macro into the core (#766) 2008-10-21 19:54:51 +00:00
Colin Kuskie
f95fb446ae update Macro/ViewCart test to track macro changes 2008-10-08 16:58:49 +00:00
Graham Knop
bbdcb6475a quiet some warnings 2008-09-30 20:03:52 +00:00
Colin Kuskie
528c56a499 Fixed a test that should have been failing for a long time.
getLineage != get('lineage')?
2008-09-06 21:06:43 +00:00
Colin Kuskie
db3bf2fae2 fix random test failures in item test 2008-08-27 02:05:57 +00:00
Colin Kuskie
84e8d38525 MiniCart macro tests 2008-08-25 22:00:07 +00:00
Colin Kuskie
1489c9331e add a basic test for CartItemCount macro 2008-08-22 23:09:20 +00:00
Graham Knop
f082e2d14e request->body and request->param should be the same in tests 2008-08-07 22:55:35 +00:00
Colin Kuskie
159f2daf60 Add a test for text MIME type. Note that various tests
may fail based on the version of LWP installed.
2008-08-02 17:39:11 +00:00
Colin Kuskie
81bdc7640c Fix a typo in the PageUrl POD.
Add tests for the new query argument to the PageUrl macro.
2008-07-13 02:03:21 +00:00
Colin Kuskie
8409f5dcd4 clean up old commerce macro tests and have the upgrade script remove them for the user 2008-05-30 07:07:20 +00:00
Yung Han Khoe
f3b14a227c Added Database link access for SQL Macro 2008-05-27 15:27:52 +00:00
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