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
JT Smith
f36ba1b268
- Added keyword tagging to Wiki.
2007-07-07 21:09:39 +00:00
JT Smith
23fa0283b3
- Added keyword tagging api.
2007-07-07 04:37:38 +00:00
Colin Kuskie
83310ba311
update copyright on tests
2007-07-07 03:56:44 +00:00
Colin Kuskie
c07b0b9c72
Add the Storage::Image test. This really, really wants to be done with
...
Test::Class in the long term.
Fixed a bug where Storage::Image's getFiles does not obey the showAll switch
that its parent has.
2007-07-07 03:38:16 +00:00
Colin Kuskie
0c9d1f4332
RFE for a new user access method, lookup by username and return
...
an object. Includes tests for validating the code.
2007-07-06 17:53:18 +00:00
Colin Kuskie
2a39d6a828
check part1, part2 and file path when caseInsensitiveOS=1
2007-07-05 23:09:25 +00:00
Colin Kuskie
36ed3f9209
Add a basic test for getId.
...
Add tests for Storage when caseInsensitiveOS=1
2007-07-05 02:45:33 +00:00
Colin Kuskie
ce12dca15d
add tests to cover clear and getFiles methods
2007-07-03 23:14:22 +00:00
Colin Kuskie
75a7fe80ba
add some comment headers
2007-07-03 20:44:12 +00:00
Colin Kuskie
4f0be1e871
Add tests to check for the return object type of getStorageFromPost, so
...
there should be no future problems in that area.
2007-07-02 04:30:51 +00:00
Colin Kuskie
dfed790c02
dollar signs are still regexp metacharacters, even inside character classes
2007-07-02 03:31:47 +00:00
Colin Kuskie
37f6db428f
Make Macro/Thumbnail.t more robust by not running downstream tests if
...
the file does not exist.
Fixed a bug I created by changing the order of update and change comparison
in Asset/File.pm. This caused Asset/File.t, Asset/File/Image.t and
Macro/Thumbnail.t to fail.
2007-07-01 16:39:24 +00:00
Colin Kuskie
c615268d94
fix a bug with the new assetDbProperties method. It used the wrong class
2007-07-01 05:15:53 +00:00
Colin Kuskie
cc7687c877
add test section headers, for documentation
2007-06-14 05:17:38 +00:00
Colin Kuskie
cde6e72d93
add tests for updateMetaDataField, which adds a value specific to the asset
2007-06-14 05:11:43 +00:00
Colin Kuskie
4875df88f7
testing deleteMetaDataField
2007-06-13 04:50:43 +00:00
Colin Kuskie
79fe687c7f
add more tests to check out getMetaFields, all and one at a time
2007-06-13 04:37:28 +00:00
Colin Kuskie
213c161581
Add a comment to AssetMetaData.t
...
Add more tests to Session.t to check the $session->user method.
2007-06-12 03:41:41 +00:00
Colin Kuskie
2893409d05
add uiLevel tests for Visitor and Admin
2007-06-10 22:55:52 +00:00
Colin Kuskie
95506668ca
add a test for the sessionId macro
2007-06-10 20:47:41 +00:00
Colin Kuskie
32f7866f3b
Added a TODO in AssetPackage and changed a comment inside AssetLineage for clarity
2007-06-07 20:02:43 +00:00
Colin Kuskie
efea7c9685
fix a typo in the AssetMetaData, and add code to WebGUI::Test to force all output onto STDOUT. Step 1 to smolder
2007-06-06 23:40:14 +00:00
Colin Kuskie
804bad9a48
very beginnings of an Asset MetaData test, along with an API extension to make adding metaData possible
2007-06-05 23:33:50 +00:00
Colin Kuskie
6dd91ea8f4
fix a test that leaks a user and casues t/Macro/SQL.t to fail if they are called in the correct order
2007-05-30 21:43:25 +00:00
James Tolley
c09b2cae1b
EMS import/export, Form::*::getValueFromPost(alt_values), and tests
2007-05-29 23:39:24 +00:00
Colin Kuskie
0a7e06edca
Remove extra arguments to rollback. Not sure how those got added
...
in the first place.
Fix the WikiPage, which was not cleaning up after itself.
2007-05-29 22:52:52 +00:00
Colin Kuskie
907f31b97d
update User test for new User Profile table scheme
2007-05-29 18:09:50 +00:00
Colin Kuskie
c4384bd8f8
remove dead test code
2007-05-24 22:59:16 +00:00