JT Smith
|
40a4c3c487
|
fixing bugs reported by tests
|
2007-07-29 21:26:35 +00:00 |
|
Colin Kuskie
|
83310ba311
|
update copyright on tests
|
2007-07-07 03:56:44 +00:00 |
|
Colin Kuskie
|
32f7866f3b
|
Added a TODO in AssetPackage and changed a comment inside AssetLineage for clarity
|
2007-06-07 20:02:43 +00:00 |
|
Colin Kuskie
|
a8c8568d36
|
addChild: handling really deep assets works
|
2007-04-17 05:34:26 +00:00 |
|
Colin Kuskie
|
0d9bd95030
|
document some TODO tests
|
2007-04-15 05:02:24 +00:00 |
|
Colin Kuskie
|
8d65d4322c
|
getLineage tests. This thing is so big it could have its own test file.
|
2007-04-15 05:00:06 +00:00 |
|
Colin Kuskie
|
bd577a6712
|
Cache tests for getFirst- and getLastChild, hasChildren.
newByLineage tests, with cache
changed newByLineage to use placeholders
Coverage is 59/55/84
|
2007-04-15 04:30:55 +00:00 |
|
Colin Kuskie
|
450aab40a0
|
Some coverage tests for setRank. Added tests and a new folder
for getDescendantCount.
Pushed the reversal of order back into getLineage. WGBP indentation.
|
2007-04-15 03:41:38 +00:00 |
|
Colin Kuskie
|
483daf6671
|
More rank swapping tests, cleaned up a bug in the tests that passed but should
not have.
Updated the POD in AssetLineage to show which methods alter the object's stored
lineage versus the information in the database.
|
2007-04-15 02:02:03 +00:00 |
|
Colin Kuskie
|
5e643336bb
|
Add a test in setParent for the condition where the current user cannot edit
the new parent.
Added a basic test for setRank.
|
2007-04-14 02:45:50 +00:00 |
|
Colin Kuskie
|
a7cb2133c9
|
10 tests for rank swap, promote and demote
changed promote and demote to use placeholders in AssetLineage.
Added explicit return values to demote
|
2007-04-14 01:50:11 +00:00 |
|
Colin Kuskie
|
c9e2a8b9f3
|
11 more AssetLineage tests for various rank methods.
Have setParent update self's parentId for persistent code.
|
2007-04-14 00:50:35 +00:00 |
|
Colin Kuskie
|
e894ed29ae
|
Tests for getParent and getParentLineage
Fixed getParentLineage. The regular expression only matched strings
that were 8 characters long.
|
2007-04-13 21:45:32 +00:00 |
|
Colin Kuskie
|
a548341aea
|
More AssetLineage tests.
setParent does not clear the internally cached reference to
the parent Asset. This makes persistent code get the wrong
Asset reference.
|
2007-04-13 21:01:15 +00:00 |
|
Colin Kuskie
|
9e4216c4a0
|
Add more AssetLineage tests.
cascadeLineage will crash because it does not check for duplicate lineages.
Removed a duplicate check for $newParent definedness in setParent.
|
2007-04-13 20:19:23 +00:00 |
|
Colin Kuskie
|
15c245b06a
|
AssetLineage tests, and place holders for AssetLineage
|
2007-04-13 17:27:51 +00:00 |
|
JT Smith
|
61eb59c7f8
|
bug fixes and new tests
|
2006-08-02 15:39:23 +00:00 |
|