Commit graph

194 commits

Author SHA1 Message Date
Colin Kuskie
a54aec00a4 make the failing short guid test smarter so that it tries multiple directories 2006-05-24 21:18:27 +00:00
Colin Kuskie
b02386064d Make creating a Storage object with a short ID an error.
Add a test to check for that.
Beginning of documentation for VersionTag.
2006-05-24 03:03:47 +00:00
Colin Kuskie
e6ef875b51 make i18n check for labels in the template variables section of the help 2006-05-24 00:49:37 +00:00
Colin Kuskie
c26d9cc923 add checking for isa fields in Help 2006-05-23 18:17:12 +00:00
Wouter van Oijen
f09b385a30 Improved whitespace test, found 24 more files with pod problems 2006-05-21 13:37:37 +00:00
Wouter van Oijen
e35760ce6a Added a test for erroneous whitespace that screws up POD 2006-05-20 10:29:26 +00:00
Colin Kuskie
a880b058a5 update SelectList to go with XHTML changes by Wouter 2006-05-20 04:04:12 +00:00
Colin Kuskie
f413c029a2 Storage now prunes empty directories when delete is called.
Add use WebGUI::Form::Hidden to Form::File
2006-05-19 21:48:10 +00:00
Colin Kuskie
3d10acb8ce update User test now that group caches are flushed properly 2006-05-19 03:53:50 +00:00
Colin Kuskie
daa0accf45 fill in the remaining tests for users and groups 2006-05-18 03:21:30 +00:00
Colin Kuskie
aea9ce76f7 Bust group caches and caches of groups containting this group
whenever the group is edited, or when users or groups are added
or deleted.
Add a test to check adding users.
2006-05-17 23:16:11 +00:00
Colin Kuskie
ebdcd47f8d POD and code fix for Storage object delete method 2006-05-17 18:28:31 +00:00
Colin Kuskie
c6342a6225 baseline testing for Asset versioning code 2006-05-17 03:52:52 +00:00
Colin Kuskie
c014d39c28 expose a Storage bug 2006-05-16 22:45:46 +00:00
Colin Kuskie
f704f7dfa4 tests for buildHashRefOfHashRefs 2006-05-12 23:25:28 +00:00
Colin Kuskie
024ae31899 add tests for buildArrayOfHashRefs 2006-05-12 23:13:27 +00:00
Colin Kuskie
f1d99a0af1 Add AdSpace help.
Fix bad subroutine exit in label.t
Clone label.t to create setHelp.t, which checks that AdminConsole help topics resolve
Fix typo in AC help topic for InOutBoard
2006-05-12 04:12:01 +00:00
Colin Kuskie
b018b8e61e Document return value for Storage::rename
Add simple new test for Text.t
Add ClassName.t test
Prevent Form/ClassName from passing classes with spaces in them and
remove redundant test for digits in regexp.
Add a new test to Storage.t for getLastError
2006-05-11 17:37:42 +00:00
Colin Kuskie
548dfb6f41 beginning of Storage test 2006-05-10 23:12:48 +00:00
Colin Kuskie
b4441a0c93 Add Slider to list of non-profile enabled form elements 2006-05-09 16:45:26 +00:00
Colin Kuskie
e035bd28f8 fix label.t to search for multiple i18n objects inside of a sub 2006-05-08 23:31:54 +00:00
Colin Kuskie
379c6e0ad3 very simple test for URLEncode macro 2006-05-05 23:31:22 +00:00
Colin Kuskie
3587af1479 test for FetchMimeType macro 2006-05-05 23:26:22 +00:00
Colin Kuskie
45a5b58f67 International macro test 2006-05-05 22:24:56 +00:00
Colin Kuskie
a2dd0b5a48 adding tests for scratch overwrite bug 2006-04-24 23:53:59 +00:00
Colin Kuskie
c4d6c351ec add User form to list of non profile-enabled forms 2006-04-24 16:13:29 +00:00
Colin Kuskie
7f30feae35 removing more diag output 2006-04-21 16:41:53 +00:00
Colin Kuskie
499981d092 removing diag to clean up smoke test output 2006-04-20 18:43:20 +00:00
Colin Kuskie
3803e3b2ff update test to work with new code 2006-04-20 16:38:36 +00:00
Colin Kuskie
04911c04e9 removing diag output 2006-04-19 16:07:46 +00:00
Colin Kuskie
e3209b234e remove diag output 2006-04-19 15:42:12 +00:00
Colin Kuskie
7d94874bcc removing diag output from tests
Fix SQLForm help label so automatically generated Asset list works
EMS Help and i18n
2006-04-19 04:54:44 +00:00
Colin Kuskie
d0e7c5bb06 fix failing noCache test because separator changed 2006-04-17 03:06:20 +00:00
Colin Kuskie
cb2a8d025e I am 4 kinds of fool 2006-04-15 16:51:23 +00:00
Colin Kuskie
bbd17516e8 add cache clearing to end of User and Group tests, too 2006-04-15 02:36:52 +00:00
Colin Kuskie
1c6fec6695 Flush cache for User and Group tests to pass.
Add group cache clear to Group.pm
templateId clash due fixed
2006-04-15 02:32:38 +00:00
Colin Kuskie
2f5dab37d2 finalized Group code with migration and upgrade log 2006-04-14 01:17:39 +00:00
Colin Kuskie
b0356f06a0 update test to use new method name 2006-04-13 22:52:16 +00:00
Colin Kuskie
ad694fb030 Fix User.t so that it assigns IPs in a way that works with the new isInGroup code.
User.pm: Collapse all methods into getUsers(1) inside isInGroup
Group.pm: Disable the cache whenever a scratchFilter or ipFilter is assigned.
Begin updating Group documentation for changes to dbQuery
2006-04-12 23:33:11 +00:00
Colin Kuskie
8b8b4af41b Checkpoint before final conversion.
Added getIpUsers method to Group.pm
Group->getUsers and User->isInGroup both use getIpUsers
Tests added to Group.t to verify that getIpUsers works.
2006-04-11 21:17:30 +00:00
Colin Kuskie
6dba08b727 remove wrap tests due to XHTML change 2006-04-10 15:27:26 +00:00
Colin Kuskie
e5e9cd9b51 add tests for scratch users and migrate getUsers,isInGroup to use it 2006-04-07 20:42:36 +00:00
Colin Kuskie
f3404c319a beginnings of Session testbench 2006-04-06 23:19:59 +00:00
Colin Kuskie
f9b8582426 Scratch filter tests in prep for WebGUI::Group->getScratchUsers
Small tweaks for User.pm scratch and Group.pm POD
Update scratchFilter docs to show how to place multiple name and value pairs
2006-04-06 22:02:54 +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
Colin Kuskie
510c1f5ca5 Modify User.pm and Group.pm to consider external means of defining users,
such as a dbQuery.  This would happened coincidently before, but required
doing a User->isInGroup and only added members who were searched for rather
than all members.
Modify Group.t to test this.
Update POD in SQL.pm.
2006-04-05 18:35:26 +00:00
Colin Kuskie
54573e6bb2 Add tests to Stow to show that the ->set method is only really
useful when creating the Stow'ed variable.
When you ->get a Stow variable, you get a reference if you've
stowed an array or hash.  So when you modify what you got, it
changes the original inside Stow and you don't need to do a ->set.

This wouldn't work for scalars, unless it was a scalar reference.

This also means that if you modify the variable you stowed (and you
stowed a reference) after you stowed it then the stow will change
as well.
2006-04-04 17:42:25 +00:00
Colin Kuskie
8bbae90c4e remove debugging tests 2006-04-03 23:19:21 +00:00
Colin Kuskie
7b60bc8fef test that while a user can be in a group they may not be in the list of users 2006-04-03 19:13:09 +00:00
Colin Kuskie
2f65790a74 Annotate recursive versus non-recursive test
Clean-up the crowd and the mab
2006-04-03 18:17:38 +00:00