Commit graph

7932 commits

Author SHA1 Message Date
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
Doug Bell
30f22c9b7a fixed some bugs in URL/Content handlers. fixed some bugs in Gallery. 2007-12-18 15:38:06 +00:00
Doug Bell
4c70aa4c71 re-integrated photogallery branch 2007-12-18 13:05:41 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Colin Kuskie
58dd3e075a Add fixUrl tests for duplicate assets and generated urls. 2007-12-17 03:10:54 +00:00
Colin Kuskie
8e52096a0a Re-indent some fixUrl code and realign comments.
Add more fixUrl tests for coverage.  Leading zeroes are
handled strangely.
2007-12-16 22:59:00 +00:00
Colin Kuskie
de912cf977 testing a different special state 2007-12-16 22:00:36 +00:00
JT Smith
1ce61982ed some bug fixing
added some tests
2007-12-16 18:56:36 +00:00
Colin Kuskie
b70ef9d23a Add tests to cover the removal of extensions in the "directory"
parts of the path.  Refactor out the while loop with match and
nested s/// into a single regexp.
2007-12-16 04:13:53 +00:00
Colin Kuskie
cda571c3ef fix syntax error with using WebGUI::Content::Asset standalone 2007-12-16 00:28:23 +00:00