Commit graph

58 commits

Author SHA1 Message Date
Graham Knop
1acca9fa47 fix list form test 2008-06-12 23:42:20 +00:00
Colin Kuskie
c930c73d67 Fix Hidden, Radio and Checkbox, which wouldn't allow
a value of zero to be set in them.  It was translated to
the empty string.
2008-05-05 22:20:16 +00:00
Colin Kuskie
0e1c5b35c3 update SelectBox test for new Form api 2008-04-27 03:09:31 +00:00
Colin Kuskie
3abd3988c7 Update this test for the new API. Note that Captcha, Asset, User, Color
and some other form fields are now profile enabled.
2008-04-25 23:18:55 +00:00
Colin Kuskie
bcdafdc84b Fix the test to work with the new form API.
However, the test fails miserably.  Something happened to the
profileEnabled field of all form fields.  This needs to be fixed
and then Operation/ProfileSettings updated as well.
2008-04-25 22:23:47 +00:00
Colin Kuskie
89829bb4da add more email addresses for testing in Form/Email.t 2008-04-24 23:23:13 +00:00
Colin Kuskie
0bc02e173d update Form/Text.t to work with new form api code 2008-04-24 23:13:34 +00:00
Colin Kuskie
e430a2fe47 update Form/Phone test to work with the update form API 2008-04-24 21:10:37 +00:00
Colin Kuskie
75ea5c87de update Form/GetName test to work with the update form API 2008-04-24 21:06:30 +00:00
Colin Kuskie
5b16fcca51 side port new email address test 2008-04-17 21:43:45 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Doug Bell
4d36c1e6c2 add: WebGUI::Form::CheckList now has optional select all button 2007-09-12 00:50:54 +00:00
Graham Knop
db59a2eb7a Some test fixes. 2007-08-15 19:14:08 +00:00
JT Smith
40a4c3c487 fixing bugs reported by tests 2007-07-29 21:26:35 +00:00
Colin Kuskie
07cb430be4 update ProfileEnabled test for new SubscriptionGroup form control. It is not supposed to be profile enabled 2007-07-24 03:37:00 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
James Tolley
c09b2cae1b EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Colin Kuskie
3930e1415d update test to track core change in Form/Checkbox.pm 2007-01-19 16:14:30 +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
70bea40b94 update Form/Email test now that single character usernames work 2006-08-16 23:20:25 +00:00
Colin Kuskie
091ad048ea add test for single character username at domain 2006-08-15 23:39:58 +00:00
Colin Kuskie
8f4dcfe900 fix typos in test comments 2006-07-15 03:17:02 +00:00
Wouter van Oijen
3f9331a774 Removing diag to clean up smoke test output 2006-07-14 10:53:15 +00:00
Colin Kuskie
a880b058a5 update SelectList to go with XHTML changes by Wouter 2006-05-20 04:04:12 +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
b4441a0c93 Add Slider to list of non-profile enabled form elements 2006-05-09 16:45:26 +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
3803e3b2ff update test to work with new code 2006-04-20 16:38:36 +00:00
Colin Kuskie
e3209b234e remove diag output 2006-04-19 15:42:12 +00:00
Colin Kuskie
6dba08b727 remove wrap tests due to XHTML change 2006-04-10 15:27:26 +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
Colin Kuskie
556ab65f5e second batch of test automation done 2006-03-27 21:18:58 +00:00
Colin Kuskie
c8c7b78ee1 add Password test, fix bug in Password with maxlength 2006-03-27 20:42:08 +00:00
Colin Kuskie
29ee2c313d first batch of test automation for getValueFromPost checking 2006-03-27 19:41:18 +00:00
Colin Kuskie
1ac514982f modify validation regexp for Float.
Add Float test
Add new Integer test
2006-03-27 00:29:03 +00:00
Colin Kuskie
efb6e82140 Added Integer test.
Change integer validation to reject strings like 123-456
2006-03-26 23:09:19 +00:00
Colin Kuskie
9ddea59a79 zipcode test 2006-03-25 19:54:22 +00:00
Colin Kuskie
689eb47e10 adding Url test 2006-03-25 17:58:09 +00:00