Commit graph

9 commits

Author SHA1 Message Date
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