Commit graph

985 commits

Author SHA1 Message Date
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
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
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
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
53a1cbc7c2 fixes to the Gallery 2007-12-18 21:17:44 +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
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
2de8dbfc9e remove test for passthruUrls, since they are now handled by pluggable ops 2007-12-16 00:25:00 +00:00
Doug Bell
ac1a7dc3a3 fix: CS posts get re-ordered when copy/paste 2007-12-13 17:26:28 +00:00
Colin Kuskie
33ba29b338 add support for writing URL extension tests later 2007-12-13 00:29:25 +00:00
Colin Kuskie
afcc90b130 Documented a regexp in Session/Url.pm
Add passthruUrls to the list of URLs that are changed by fixUrl.
Wrote a bunch of POD for fixUrl
Changed the regular expressions related to badUrl so they don't need to copy the data.  This
will speed them up.
Fixed a bug where trailing slashes would defeat the badUrl check.
Re-indented according to WGBP.
Added tests to cover all of the changes.
2007-12-11 22:51:31 +00:00
Colin Kuskie
ac6651cdcd forward porting fixUrl bugfix and test 2007-12-11 16:40:05 +00:00
Colin Kuskie
225590fa33 Add tests for the tempspace node. 2007-12-01 05:24:30 +00:00
Colin Kuskie
350d698441 forward porting another batch of Event getTemplateVar tests 2007-11-28 05:45:11 +00:00
Colin Kuskie
0a1974ba4c forward porting Event dateSpan display fix and Event.t test 2007-11-28 04:47:30 +00:00
Graham Knop
865c1d315b merging 7.4 changes 2007-11-22 06:09:27 +00:00
Colin Kuskie
afb67294b8 more coverage tests for getDescendantCount, checking state and status 2007-11-21 18:04:41 +00:00
Colin Kuskie
185a582ef9 State and status fix for AssetLineage->getDescendantCount, and tests to
double check it.
2007-11-21 03:43:20 +00:00
Colin Kuskie
80333b1141 add more tests to cover AssetLineage->getChildCount. Optimize the new SQL query in getChildCount 2007-11-20 21:15:06 +00:00
Colin Kuskie
0799d70428 Fix for AssetLineage's getChildCount. It did not consider the
asset's status, only the state.  Change the SQL query to always
look at status, and consider state based on the options passed
to the method.
Add two quick tests to test that.  More to follow.
2007-11-20 04:46:45 +00:00
Chris Nehren
9db0430032 Fix the groupToEditPost field defaulting to the groupIdEdit field. Make sure
that the added collab system in the test has a parent asset as well, to ensure
that the inheritance works properly.
2007-11-07 22:29:21 +00:00
Chris Nehren
e20e6061f2 Don't delete the groups used in the Post test, they're needed. May want to make
mock groups in the future. Also clean up some commented out things from
Collaboration.t.
2007-11-06 23:06:09 +00:00
Chris Nehren
0d689afa4c Add the groupToEditPost field to the Collaboration system. This allows users
to specify a group of users that will always be able to do edits on posts,
regardless of whether they own those posts and independent of the editTimeout
field.
2007-11-06 22:58:22 +00:00
Doug Bell
2570980fa5 makeShortcut done, EXIF done 2007-10-30 21:04:41 +00:00
Doug Bell
673faf9be6 added Image::ExifTool to WebGUI. fixed upgrade script properlike 2007-10-29 22:44:35 +00:00
Doug Bell
7e12c6c2f0 merged with SVN to get friends stuff 2007-10-26 00:50:05 +00:00
Doug Bell
32b27d0954 more tests, started Photo development, changed some naming 2007-10-25 06:20:20 +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
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