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
Doug Bell
5746ded766
Added more tests. Cleaned up the OO of File and Image a bit (removed a healthy bit of unnecessary code from Image). Done with File and Image for the time being...
2007-10-09 07:36:54 +00:00
Doug Bell
fad056cfa5
add a bunch of tests
2007-10-05 20:30:46 +00:00
Doug Bell
a2c75c64b9
Added tests for linked asset
2007-10-05 00:28:22 +00:00
Doug Bell
f684e728c8
fix: Shortcuts now follow their linked asset when trashing, purging, and restoring from trash
2007-10-05 00:27:14 +00:00
Graham Knop
847fce0689
fix tests, typo
2007-08-24 08:23:33 +00:00
Diona Kidd
5efea40a96
Adding SQLForm test
2007-08-23 02:30:22 +00:00
JT Smith
40a4c3c487
fixing bugs reported by tests
2007-07-29 21:26:35 +00:00
Colin Kuskie
5591997af5
finish addEditLabel test, needed to Mock the request to that it could check $session->form for func=add
2007-07-21 21:26:58 +00:00
Colin Kuskie
7018d38f15
Refactor out the Wobject level www_edit code that switches between Add Wobject and
...
Edit Wobject into an Asset level method. Convert Wobject.pm and Snippet.pm to use it.
Build a very bare bones test method for it.
2007-07-20 23:04:43 +00:00
Colin Kuskie
83310ba311
update copyright on tests
2007-07-07 03:56:44 +00:00
Colin Kuskie
75a7fe80ba
add some comment headers
2007-07-03 20:44:12 +00:00
Colin Kuskie
4f0be1e871
Add tests to check for the return object type of getStorageFromPost, so
...
there should be no future problems in that area.
2007-07-02 04:30:51 +00:00
Colin Kuskie
c615268d94
fix a bug with the new assetDbProperties method. It used the wrong class
2007-07-01 05:15:53 +00:00
Colin Kuskie
cc7687c877
add test section headers, for documentation
2007-06-14 05:17:38 +00:00
Colin Kuskie
cde6e72d93
add tests for updateMetaDataField, which adds a value specific to the asset
2007-06-14 05:11:43 +00:00
Colin Kuskie
4875df88f7
testing deleteMetaDataField
2007-06-13 04:50:43 +00:00