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
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