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
Colin Kuskie
08989cd567
Added commit and rollback.
...
Skip'ed two tests, one which uses test_permissions and another which uses a Shortcut
method which does not exist.
2007-12-21 16:57:27 +00:00
Colin Kuskie
1a87456ecd
add version tags and commits to makeResolutions. Most tests fail anyway
2007-12-21 16:47:11 +00:00
Doug Bell
ae6fd2c702
fix: these tests pass now
2007-12-21 00:26:28 +00:00
Doug Bell
52c351b3db
fix: Added default assetIds for templates
2007-12-20 23:39:09 +00:00
Colin Kuskie
08641182ba
Added versionTags and commits. Still having some problems, though.
2007-12-20 23:22:05 +00:00
Colin Kuskie
4cc0edc749
add version tags and commits. Also add 1 dummy test to make the plan happy
2007-12-20 16:40:32 +00:00
Colin Kuskie
b542bf1cfd
Added version tag with commits and rollback.
...
Changed SKIP and TODOs to isolate some more tests.
WebGUI::International->get is not a class method.
2007-12-20 04:51:16 +00:00
Colin Kuskie
15c3c2e8f6
adding version tag commits. all tests pass
2007-12-20 00:24:38 +00:00
Colin Kuskie
c839ab3c0a
Make sure that all Assets are created inside of capturable version tags so they
...
can be cleaned up at the end of the test.
2007-12-19 20:51:56 +00:00
Colin Kuskie
8d1e47a6ce
Storage/Image: resize works with ImageMagick again. Add diagnostics to tests for easy debug
2007-12-19 18:04:50 +00:00
Colin Kuskie
182f3ecfae
increment plan for TODO test
2007-12-19 17:00:05 +00:00
Doug Bell
01c6379224
fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go...
2007-12-19 16:41:39 +00:00
Colin Kuskie
17e815281f
Comment out a test that will always fail, and cannot be trapped.
...
Add assetId and userId to the setComment call that is supposed to succeed.
2007-12-19 00:11:13 +00:00
Colin Kuskie
936e258bcd
Fix class names in tests.
...
Give each test at least 1 test in the plan, otherwise Test::Harness barfs.
2007-12-18 22:20:13 +00:00
Doug Bell
f8901ffe34
added TODO test to ensure that working with WebGUI::Storage doesnt chdir away
2007-12-18 21:26:14 +00:00
Doug Bell
53a1cbc7c2
fixes to the Gallery
2007-12-18 21:17:44 +00:00
Colin Kuskie
99274cd4ee
variables entry needs to be an array ref, not a hash ref
2007-12-18 19:05:39 +00:00