Colin Kuskie
3fc39faa3d
don't need no stinking lib
2007-10-24 03:59:22 +00:00
Colin Kuskie
ba5df0075f
help.t does not need extract_block from Text::Balanced
2007-10-24 03:45:02 +00:00
Colin Kuskie
d66f8fa337
Add a new test for coverage of isInGroup with a non-existant group
2007-10-19 01:36:09 +00:00
Colin Kuskie
598a0d0990
fix for choosing uncommitted templates as a User Style Template
2007-10-18 23:17:18 +00:00
Colin Kuskie
05b33ec3b8
temporary hack to fix a Test::MockObject related test failure
2007-10-17 15:47:31 +00:00
Colin Kuskie
8d7c31253b
add a new test to check getting a user with an undefined Id
2007-10-17 14:36:17 +00:00
Doug Bell
320c2c07b0
more tests plus a framework for making test generators
2007-10-12 20:44:38 +00:00
Doug Bell
983a725558
more tests
2007-10-11 18:45:58 +00:00
Doug Bell
2accef7a9d
moving files
2007-10-10 19:29:36 +00:00
Doug Bell
a461c437cd
moving files
2007-10-10 19:28:08 +00:00
Doug Bell
5746ded766
Added more tests. Cleaned up the OO of File and Image a bit (removed a healthy bit of unnecessary code from Image). Done with File and Image for the time being...
2007-10-09 07:36:54 +00:00
Doug Bell
fad056cfa5
add a bunch of tests
2007-10-05 20:30:46 +00:00
Doug Bell
a2c75c64b9
Added tests for linked asset
2007-10-05 00:28:22 +00:00
Doug Bell
f684e728c8
fix: Shortcuts now follow their linked asset when trashing, purging, and restoring from trash
2007-10-05 00:27:14 +00:00
Graham Knop
f8781fede9
setHelp not used anymore, clean up tests
2007-09-21 02:30:12 +00:00
Diona Kidd
88c75626f4
Added more tests for the inbox object
2007-09-13 23:38:06 +00:00
Doug Bell
50eb1ab3d3
added some more macro tests
2007-09-13 21:56:37 +00:00
Diona Kidd
eb53bc67ff
adding test for message body
2007-09-13 04:54:14 +00:00
Diona Kidd
45b84009df
adding test for message body
2007-09-13 04:49:31 +00:00
Diona Kidd
ffd2661c7f
Building up tests for Inbox.pm
2007-09-13 04:37:55 +00:00
Diona Kidd
6ce211e805
Adding base test for Inbox.pm
2007-09-13 04:07:35 +00:00
Graham Knop
16d47bd31b
test fixes
2007-09-12 21:43:48 +00:00
Graham Knop
afdc412033
fix image library selection
2007-09-12 20:51:23 +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
a6018f798c
fix quote tests
2007-08-30 00:15:27 +00:00
Graham Knop
847fce0689
fix tests, typo
2007-08-24 08:23:33 +00:00
Diona Kidd
5efea40a96
Adding SQLForm test
2007-08-23 02:30:22 +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
a9f45865e6
Add optional database connection parameters to the DatabaseLink. This
...
replaces the old, automatic setting of LongReadLen and LongTruncOk in
SQL.pm, and is much more flexible.
Fix some documentation with allowMacroAccess in the DatabaseLink.
Additional tests for DatabaseLink.
Document the new parameter behavior in the changelog and gotchas file.
2007-07-25 23:46:20 +00:00
Colin Kuskie
8261c896a6
Add missing docs to ->set, for which params are allowed in the object/db.
...
Add missing allowMacroAccess to default dbLink.
Add several tests for create, get, delete, etc.
2007-07-24 23:50:22 +00:00
Colin Kuskie
226dd2cf21
Add tests for WebGUI::Storage::Image, and give its getThumbnailUrl method
...
some error handling.
2007-07-24 03:40:57 +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
e97d44142a
update test due to changes in i18n files
2007-07-24 03:35:34 +00:00
Colin Kuskie
86d92d68a8
add deleteFile tests to Image.t
2007-07-23 18:14:40 +00:00
Colin Kuskie
99d7037532
Fix a bug where storage objects allow deleting of files in other storage objects.
2007-07-23 16:24:37 +00:00
Colin Kuskie
a83702f2ed
Fix a bug where WebGUI::Storage::Image->copy does not return
...
an object of the same class, when no default object is passed.
Added a bunch of tests.
2007-07-23 04:53:09 +00:00
Colin Kuskie
5591997af5
finish addEditLabel test, needed to Mock the request to that it could check $session->form for func=add
2007-07-21 21:26:58 +00:00
Colin Kuskie
7018d38f15
Refactor out the Wobject level www_edit code that switches between Add Wobject and
...
Edit Wobject into an Asset level method. Convert Wobject.pm and Snippet.pm to use it.
Build a very bare bones test method for it.
2007-07-20 23:04:43 +00:00
Colin Kuskie
8989c46a59
adding test for AdminConsole so nothing, uh, gets inadvertently deleted :)
2007-07-18 22:56:58 +00:00
Colin Kuskie
7c6ba21048
Help cleanup moves into the Macros. Macro help title will be
...
Macro Template Variables.
Body tags in the help are now optional. To skip the body tag, put
in an empty string. Updated the Help and the tests to cover that.
Updated the Account Macro according to those rules.
2007-07-16 22:59:15 +00:00
Colin Kuskie
02abc68aa8
more generateThumbnail tests
2007-07-16 22:22:21 +00:00
Colin Kuskie
cff3ac1816
Added the checkPrivileges method, borrowed from SQLForm.
...
Wrote tests based on SQLForm bugs to validate it, and it passes.
2007-07-14 23:11:03 +00:00
Colin Kuskie
3d016a366b
finish up the databaseName method tests
2007-07-14 19:56:27 +00:00
Colin Kuskie
6b2ed836fb
Add a method so that DatabaseLink can tell you what database it's
...
operating on.
Add tests for the method.
2007-07-14 19:33:14 +00:00
Colin Kuskie
f07858a645
tests for generateThumbnail. final test is not working yet
2007-07-13 04:52:38 +00:00
Colin Kuskie
8b973604cd
beginnings of thumbnail generation test
2007-07-13 04:38:50 +00:00
Colin Kuskie
2feb3b912c
Javascript files are now detected as application/octet-stream. Updating test.
2007-07-11 18:24:30 +00:00
Colin Kuskie
6fe068e42d
document what other tests need to be written
2007-07-08 21:06:00 +00:00
Colin Kuskie
e04443c6ee
Add tests for dealing with files beginning with thumb- (they're ignored)
...
and determining if a file is an image, based on the filename.
2007-07-07 21:33:52 +00:00