Commit graph

15 commits

Author SHA1 Message Date
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
b309d108dc Clean up all temporary session info in Session/Scratch.t
Add a preliminary run of DeleteExpiredSessions to DeleteExpiredSessions.t
to clean up any old, funky sessions which might just be lying around
and interfering with the test.
2008-01-03 18:37:34 +00:00
Colin Kuskie
1e1e7a2afa Clean up left-over scratch in two tests to try and get
Workflow/Activity/DeleteExpiredSessions to work in the smoke
tests.
Comment out the two failing tests in Asset.t until my bug
gets answered.  Turns out you can't TODO them because
it requires using Test::Builder instead of Test::More.
2007-12-31 02:12:12 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
7b1109fb83 update test to handle change in Scratch delete return value 2006-11-07 17:25:00 +00:00
Colin Kuskie
f5aaa2e996 Additional tests to cover WebGUI::Session::Scratch.
Found and fixed a but in Session/Scratch/deleteNameByValue.  It would
not delete any value that was false (0, '' or undef).  Added a defined-ness
check to make sure it will delete 0 or '', but undef is still not handled.
Added POD to say that this was the case.
2006-10-01 21:49:05 +00:00
Colin Kuskie
fc11dd64b2 add tests that check the return value of several methods. Also added tests to increase test coverage 2006-09-30 23:52:58 +00:00
Colin Kuskie
f3a1f0f9f2 GroupText.t: fix number of tests
Session/Id.pm: add a method to validate GUIDs, change s/// to tr/// for efficiency.
Session.pm: change open to use new Id.pm validation method
Scratch.t: Change test from ok to is so that it tells you what the failing ID is.
Id.t: Add validation tests in addition to uniqueness tests.  Fix the uniqueness test so that it works.  Add tests to check the new validation method
2006-07-15 01:54:49 +00:00
Colin Kuskie
a2dd0b5a48 adding tests for scratch overwrite bug 2006-04-24 23:53:59 +00:00
Colin Kuskie
3e179fa4ad Group.t: group karma tests, better clean-up at end
User.t: better clean-up at end
Scratch.t: no newlines in test output
Session/Scratch.pm: convert to use placeholders
Ad.pm: Add missing line of POD.
Group.pm: add method to get all users in a group by karma.
User.pm: isInGroup to use getKarmaUsers.
2006-04-06 16:52:34 +00:00
Matthew Wilson
6f112057bb still more fixes. 2006-01-18 07:05:19 +00:00
Matthew Wilson
8f12dae29c more session fixes. 2006-01-18 06:26:40 +00:00
Daniel Maldonado
6c49511082 2006-01-18 04:16:18 +00:00