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
Colin Kuskie
c802e4ddad
Add tests for database defined groups to Group.t
...
Clear cache on set of databaseLinkId or dbQuery in WebGUI::Group.pm.
Fix typos, missing module use lines and extra variables in WebGUI::User.pm.
2006-04-03 18:07:09 +00:00
Colin Kuskie
03c79ce1d0
comment out debugging output
2006-04-03 16:00:33 +00:00
Colin Kuskie
910e191fb4
Add note to DatabaseLink->new that id 0 is reserved for WebGUI database.
...
Build SQL table to be used in Group membership test
2006-04-03 05:36:27 +00:00
Colin Kuskie
c2fdde2635
Fix POD doc for getUsers.
...
Add baseline tests for changing sql method of group membership.
2006-04-03 05:14:03 +00:00
Colin Kuskie
d992111ac1
test for the profileEnabled flag in all forms reported by FieldType. Also place in 1 location the list of Forms which are NOT allowed to be profileEnabled
2006-04-02 23:31:05 +00:00
Colin Kuskie
dc2ec6bbdd
Remove disabled check from all tests because it gives inconsistent
...
results. Some forms were returning undef, some were returning 0.
Added a Radio button test.
Added a test to Checkbox that sees if the value (which is displayed to the
user) can be only whitespace.
2006-04-02 19:25:01 +00:00
Colin Kuskie
29635395cf
Add Checkbox form test
...
Completely rework output postprocessing to make it more flexible
and added a test for duplicate test keys.
2006-03-31 23:04:14 +00:00
Colin Kuskie
833e5238eb
fix typos in testBlock keys
2006-03-31 18:36:54 +00:00
Colin Kuskie
84342ea69c
tests for single select list type forms
2006-03-31 18:27:29 +00:00
Colin Kuskie
6a035e44b0
Remove debugging output from Password test
...
SelectList test is finalized.
Extect auto_check to handle array and scalar accesses to the Form data post processors
2006-03-30 23:34:08 +00:00
Colin Kuskie
50452e71df
refinements
2006-03-29 23:57:47 +00:00
Colin Kuskie
9b7d160a7a
first cut at Form test with multiple selects
2006-03-29 01:09:52 +00:00
Colin Kuskie
1ad61ac861
Fix a bug in TimeField.
...
Add support for Brazilian phone numbers and extensions to Phone
2006-03-27 23:22:35 +00:00
Colin Kuskie
c772fa0d3a
add Hidden test
2006-03-27 23:17:29 +00:00
Colin Kuskie
c64ebee60f
Add Phone test, it needs more test cases
...
modify Phone.pm and Float.pm to require digits.
update Float.t to test for at least a digit to pass.
2006-03-27 22:08:27 +00:00