Colin Kuskie
3a33baee4e
Cover several other small utility routines. More getNotFound
...
tests need to be written.
2008-01-02 02:27:25 +00:00
Colin Kuskie
fb54ca2a1c
Coverage tests for assetExists.
2008-01-01 21:35:19 +00:00
Colin Kuskie
33c4cd833b
Add the failing test for assetAddPrivileges back in, but don't run it.
...
Add tests for assetUiLevel and getUiLevel.
2008-01-01 19:38:34 +00:00
Colin Kuskie
280cc48094
tests for getToolbarState, toggleToolbar and getUiLevel
2008-01-01 04:09:35 +00:00
Colin Kuskie
7299ba8f7e
add tests for getTitle and getMenuTitle
2008-01-01 03:07:49 +00:00
Colin Kuskie
01577051cd
re test #6 . Making the hash ref a bag causes an automatic mismatch and interferes with
...
test diagnostics.
Test fails due to a mismatch in the assetSize param in the first (and probably further)
entry of the loop. Marked as TODO.
2007-12-31 21:25:35 +00:00
Colin Kuskie
ea10fc3047
Add tests for getName. Note that the coverage tests said this
...
was already covered, even though there were no direct tests for
it. This is because it's called by other methods.
2007-12-31 05:21:00 +00:00
Colin Kuskie
d65f9f1e51
add tests for getContainer
2007-12-31 04:59:52 +00:00
Colin Kuskie
5a5a749643
Add tests for Asset->addMissing
2007-12-31 04:45:07 +00:00
Colin Kuskie
ea04c9cd8b
Refactor out the duplicated code in ->run into a utility routine.
2007-12-31 03:55:39 +00:00
Colin Kuskie
1e1e7a2afa
Clean up left-over scratch in two tests to try and get
...
Workflow/Activity/DeleteExpiredSessions to work in the smoke
tests.
Comment out the two failing tests in Asset.t until my bug
gets answered. Turns out you can't TODO them because
it requires using Test::Builder instead of Test::More.
2007-12-31 02:12:12 +00:00
Colin Kuskie
9581ce5c9e
Switch to using WebGUI::Pluggable.
...
Remove tabs and prettify the code.
2007-12-30 22:40:45 +00:00
JT Smith
7c15225372
oops, forgot to add this to svn
2007-12-30 04:32:10 +00:00
JT Smith
68a2883e33
test suite for new pluggable system
2007-12-28 20:45:21 +00:00
JT Smith
de0ac26cd1
Added a new plugin handler system that is both faster and more secure.
2007-12-28 18:25:02 +00:00
JT Smith
e12c6a105e
no comment added for Label for RadioList.pm and CheckList.pm
2007-12-28 16:14:26 +00:00
Colin Kuskie
abf56513c7
Add a test for getting the whole language property hash.
...
Reformat the getLanguage method according to WGBP.
2007-12-28 00:15:15 +00:00
Colin Kuskie
44162ea113
add some more comments to make sure that nothing bad happens
2007-12-27 20:38:31 +00:00
Colin Kuskie
cf968818b4
WGBP indent Asset::canView.
...
Add coverage tests for canView.
2007-12-27 06:36:04 +00:00
Colin Kuskie
ed177c614e
WebGUI::Test::Maker::Permission will now use usernames instead of userIds in comments
...
if they are available.
Move the getLanguage test out of the SKIP block dependent on install the PigLatin
language pack.
Update Maker users with usernames in Asset.t
Add tests for assetAddPrivileges. These tests currently cause the Turn On Admin
checks to fail. A bug has been filed for this, and the tests may be rewritten
based on the resolution of the bug.
2007-12-27 06:06:32 +00:00
Doug Bell
0cfe03726a
proposed fix for strange cache issue
2007-12-27 05:01:16 +00:00
Colin Kuskie
2fa12f41b7
Fix a failing International.t test I caused.
...
WGBP the conditionals in getLanguages
Fix a typo in a comment
2007-12-27 04:38:21 +00:00
Doug Bell
af271b9f26
fixed a bunch of GalleryAlbum/Photo tests
2007-12-26 00:39:08 +00:00
Colin Kuskie
6dfe05b119
add more users and groups to check canEdit
2007-12-25 19:39:44 +00:00
Colin Kuskie
53b7a7bfcb
convert AssetLineage from stringy to blocky eval
2007-12-24 06:50:02 +00:00
Colin Kuskie
c8a1bb6a7c
Convert WebGUI::International to use blocky eval instead of stringy eval.
...
Add 1 test for getLanguage to check for refactoring.
2007-12-24 06:38:36 +00:00
Colin Kuskie
1989242c8e
remove double sigil and dereference instead
2007-12-24 04:23:32 +00:00
Colin Kuskie
d0228ddbb4
add some more users for testing canAdd and canEdit
2007-12-24 01:25:10 +00:00
Colin Kuskie
924f09a09f
Extend WebGUI::Test::Maker::Permission to handle class methods, like Asset->canAdd and Operations.
...
Add canEdit and canAdd tests to Asset.t
2007-12-23 23:30:26 +00:00
Colin Kuskie
9ebae3087e
Untab canAdd and canEdit.
...
Tweak the POD docs for formatting.
2007-12-23 05:39:02 +00:00
Colin Kuskie
88b7a7c744
coverage and functional tests for getIcon
2007-12-22 21:48:19 +00:00
Colin Kuskie
14f5ebdebc
tests for fixTitle
2007-12-22 01:16:07 +00:00
Colin Kuskie
060dd85963
Add tests to cover fixId and one test for fixTitle.
...
Fix a bug where fixId would pass integers of any length.
2007-12-21 22:57:06 +00:00
Colin Kuskie
7be4f8ea82
Remove all tests with no internal tests, or that are exact copies of GalleryAlbum tests.
...
Update 00base.t to test the Gallery instead of the GalleryAlbum.
2007-12-21 21:47:15 +00:00
Colin Kuskie
4a95c73cc8
fix use lib paths
2007-12-21 19:24:50 +00:00
Colin Kuskie
ead0016496
Added skipAutoCommitWorkflow, committed the versionTag.
...
addArchive seems to create a new revision, so stuff it inside the existing versionTag
2007-12-21 19:21:18 +00:00
Colin Kuskie
9044285f33
Commit the version tag, add skipAutoCommitWorkflow. Fix syntax errors. Set the plan. Half the tests are failing
2007-12-21 19:06:49 +00:00
Colin Kuskie
0ba62f6824
Commit the version tag, add skipAutoCommitWorkflow. Add a TODO test as a placeholder.
2007-12-21 19:03:28 +00:00
Colin Kuskie
ea011d3751
Commit the version tag, add skipAutoCommitWorkflow. Add a TODO test as a placeholder.
2007-12-21 19:01:54 +00:00
Colin Kuskie
4a68ac8c4a
fix all the FindBin paths
2007-12-21 18:56:52 +00:00
Colin Kuskie
303d0b2d0f
Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. All tests are skipped.
2007-12-21 18:55:26 +00:00
Colin Kuskie
368f5294a3
Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. Most tests are failing.
2007-12-21 18:48:47 +00:00
Colin Kuskie
1f2c890cfe
Commit the version tag, add skipAutoCommitWorkflow. This test runs, but is failing all tests
2007-12-21 18:39:57 +00:00
Colin Kuskie
cf00f5bb5b
Commit the workflow.
...
Use the skipAutoCommitWorkflow switch.
AssetTrash->purge does not set the invocant to be undef, only its copy.
2007-12-21 17:51:24 +00:00
Colin Kuskie
1cd0b0be34
Adding a basic AssetTrash test to quickly check the purge method.
2007-12-21 17:49:52 +00:00
Colin Kuskie
0846b4fa8f
END at the end
2007-12-21 17:40:29 +00:00
Colin Kuskie
91eaa6e046
commit the version tag
2007-12-21 17:26:05 +00:00
Colin Kuskie
4140d217e6
commit the version tag
2007-12-21 17:25:10 +00:00
Colin Kuskie
99acfb2088
Fixed a typo (Photo wants to be a child of Album, not Gallery).
...
Added commit and skipAutoCommitWorkflows.
No tests in here.
2007-12-21 17:20:39 +00:00
Colin Kuskie
b3789d2a0f
Added commits and skipAutoCommitWorkflow. Test can be run multiple times.
...
First test is failing.
2007-12-21 17:02:00 +00:00