Commit graph

1815 commits

Author SHA1 Message Date
JT Smith
90cb569bb5 - fix: deleting workflows did not delete related instances and crons
- Added a "run" link to the scheduler and the running workflows listings to
   aid in debugging workflow errors.
 - fix: profile fields not validated by WebGUI::User
2006-09-15 06:08:30 +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
d3fbe15ca7 fix test cleanup for AdSpace, add leading 0 test to Form::Text 2006-09-12 04:35:35 +00:00
Colin Kuskie
15345a0232 remove module call since it is not used 2006-09-11 16:11:04 +00:00
Colin Kuskie
adb099dcea Add test to make sure Import Node's parent is Asset Root. 2006-09-07 20:12:05 +00:00
Roy Johnson
6b2eeba271 Added test for import node constructor 2006-09-07 18:39:22 +00:00
Colin Kuskie
d95cd9b68d fix a very bad, simple text parser 2006-08-29 21:13:15 +00:00
Colin Kuskie
70bea40b94 update Form/Email test now that single character usernames work 2006-08-16 23:20:25 +00:00
JT Smith
80ef5e925a - Made some changes to make WebGUI compatible with the WRE for Windows.
- fix: cacheTimeout not respected as Visitor (Eric Kennedy).
 - fix: Email address with just one character in the user part not accepted
 - fix: Image (file) added to page shows before committing changes
 - fix: Typo in fileImport.pl at line 265 (zxp)
2006-08-16 21:25:27 +00:00
Roy Johnson
da1b2d3581 test to check the getMedia asset constructor 2006-08-16 21:23:05 +00:00
Frank Dillon
0703c41165 added tests for newByHashref constructor 2006-08-16 13:52:19 +00:00
Colin Kuskie
091ad048ea add test for single character username at domain 2006-08-15 23:39:58 +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
b3678c6795 fix bad minute spec in Session/DateTime/epochToHttp. Add tests to cover 2006-08-09 20:06:19 +00:00
Frank Dillon
b4102862d4 added epochToMail() test 2006-08-09 03:45:40 +00:00
Colin Kuskie
a5d38396a1 more diagnostics for remote debug 2006-08-08 20:17:25 +00:00
Colin Kuskie
000b2fcce3 Reverting previous work. Asset->new must return an Asset, even if
no className is passed and the invocant's class is Asset.  This is
due to the root.  In the db, the root Asset has the className WebGUI::Asset,
and the getRoot method matches this.
Changed the failing test in Asset.t to look for a WebGUI::Asset to be returned.
Added two tests to Asset.t to validate the object returned by Asset->getRoot method.
Reverted previous work and updated the POD for Asset->new.
2006-08-08 17:43:44 +00:00
Colin Kuskie
a7fa4c6a92 Make testing conditional on a successful module load.
Add a test to check the reference of the created object.
Clean up at the end of the test so you can run it more than once at a time.
2006-08-07 05:00:28 +00:00
Colin Kuskie
570668d2bc fix syntax error in test 2006-08-06 23:30:05 +00:00
Colin Kuskie
751adbcf30 more delta time fixes 2006-08-04 17:53:32 +00:00
Colin Kuskie
b02a93b491 change time difference test to handle bridging across 1 second and be more verbose in output 2006-08-04 16:00:12 +00:00
Colin Kuskie
d888c5c134 add explicit test for new users being added to group Everyone on creation 2006-08-04 05:15:38 +00:00
JT Smith
9ddd91570e - Added some more tests to the suite.
- Fixed the test skeleton
2006-08-03 19:38:41 +00:00
Colin Kuskie
8ec18c957f more test debug output 2006-08-03 15:42:23 +00:00
Roy Johnson
2e80acb9e8 10 new tests for Asset 2006-08-02 19:38:55 +00:00
Frank Dillon
d74f8fc020 forgot to increment test number 2006-08-02 15:58:16 +00:00
Frank Dillon
9a9c2d8357 added test for epochToHttp 2006-08-02 15:56:32 +00:00
JT Smith
61eb59c7f8 bug fixes and new tests 2006-08-02 15:39:23 +00:00
Roy Johnson
93fc3bfa88 Started a new test suite for assets 2006-08-02 15:35:03 +00:00
Colin Kuskie
4b891f22f8 We're getting occasional failures of tests for timings. Using
the lastUpdated method on a user, for example.  I've made two changes
to try and fix these:

1) Changed the tests to use cmp_ok instead of ok, so that future failures
will print the measured times as a debug, like is and isn't do.

2) Reversed the order of the method and time measurement.  This might help
the difference stay smaller since the two statements are closer.
2006-08-01 18:28:58 +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
d154726bc1 Remove the use trace line from Paginator.t. It's not used.
Yet again, fix a security hole in the Include macro.  If the path used a symlink
then it would bypass one of the three security checks.
2006-07-30 18:10:31 +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
Colin Kuskie
be6fc4b4f9 clean up old macroText statements 2006-07-29 03:50:34 +00:00
Colin Kuskie
84117932af add a test for the FormParam macro, and clarify in the docs that FormParam returns only the first value from a list 2006-07-29 03:31:59 +00:00
Colin Kuskie
b2d4c36080 add Include macro test and fix Include bug 2006-07-28 16:11:47 +00:00