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
Colin Kuskie
79fe687c7f
add more tests to check out getMetaFields, all and one at a time
2007-06-13 04:37:28 +00:00
Colin Kuskie
213c161581
Add a comment to AssetMetaData.t
...
Add more tests to Session.t to check the $session->user method.
2007-06-12 03:41:41 +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
efea7c9685
fix a typo in the AssetMetaData, and add code to WebGUI::Test to force all output onto STDOUT. Step 1 to smolder
2007-06-06 23:40:14 +00:00
Colin Kuskie
804bad9a48
very beginnings of an Asset MetaData test, along with an API extension to make adding metaData possible
2007-06-05 23:33:50 +00:00
Colin Kuskie
0a7e06edca
Remove extra arguments to rollback. Not sure how those got added
...
in the first place.
Fix the WikiPage, which was not cleaning up after itself.
2007-05-29 22:52:52 +00:00
JT Smith
f5f358ccf3
fixed tests
...
preparing for release
2007-05-23 17:42:51 +00:00
Colin Kuskie
fbec25f5f7
rework tests to handle new asset behavior
2007-05-07 04:32:04 +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
Colin Kuskie
f9958fa4eb
upgrade test to work with newer use_ok
2007-04-07 02:33:21 +00:00
Colin Kuskie
4469301092
Based on SVN history, put the behavior of the SQL back and fixed the POD and
...
the tests.
2007-02-25 06:20:54 +00:00
Colin Kuskie
5a379fe91e
Add tests for urlExists and fix bugs in the method. It now handles
...
placeholders correctly and does exactly what the POD says, assetId
requires that the url be with that assetId, rather than not in that
assetId.
2007-02-25 06:18:15 +00:00
Doug Bell
af66fa585c
Updated AssetExportHtml and tests. Now to re-order the export.
2007-02-01 16:57:05 +00:00
Roy Johnson
19bf1f4e8a
fix - export fails with strange urls. Factored url to path translation out into a seperate method. Added beginnings of a smoke test for AssetExportHtml.pm.
2007-01-30 15:34:43 +00:00
Colin Kuskie
016e16aab1
fix a bad test in the Clipboard and add the AssetPackage test
2007-01-26 05:02:04 +00:00
Colin Kuskie
dc8cbd5fb2
adding clipboard test, this will fail
2007-01-26 04:04:35 +00:00
Roy Johnson
2684f7476c
some new tests for the wiki
2007-01-17 13:21:05 +00:00
Roy Johnson
1a95b94598
Fixed failing calendar test
...
7.3.3 beta release
2007-01-04 00:50:41 +00:00
Colin Kuskie
5a26e4f2d8
Assets need to be committed before adding children to them. This should really be done in addChild to prevent it since it was manually hacked into the CS.
2006-12-22 18:10:27 +00:00
Roy Johnson
e92871629c
Added a the beginnings of a test suite for the wiki. Fixed privilege check in the media folder.
2006-12-21 16:19:37 +00:00
Colin Kuskie
9d0894b674
Add a new method to t/lib/WebGUI/Test.pm to return the path to the test
...
collateral.
Update all tests to use the new method.
Change testCodebase.pl to run long tests by default. To disable the
long tests, use the --noLongTests switch.
2006-12-15 23:17:22 +00:00
Roy Johnson
b5aea5a60b
fixed some broken tests
2006-12-13 14:20:06 +00:00
Roy Johnson
39a992e0a7
Added the beginnings of a test suite for the Calendar wobject
2006-12-10 23:22:04 +00:00
Colin Kuskie
2c246c06cc
fix a bug where updating the storageId in File Type assets did not update the cached storageLocation. Also fixed the Thumbnail Macro test
2006-12-09 06:05:26 +00:00
Roy Johnson
1cae999b60
Two new tests for the snipper
2006-12-07 01:07:01 +00:00
Roy Johnson
e058215bf7
Merging Search test into head
2006-11-30 01:05:21 +00:00
Colin Kuskie
fdffd2a5e3
more diagnostics for remotely failing test
2006-11-20 17:17:47 +00:00
Roy Johnson
2733d4f9a9
Two new tests for snippet. Almost at 100% coverage for snippet now.
2006-11-08 20:42:36 +00:00
Roy Johnson
19aa2b854e
merge tests from branch into HEAD
2006-11-02 03:01:32 +00:00
Colin Kuskie
0b1e077f69
Changed the Help so that chapters with only 1 page are directly linked, saving a click.
...
Added pluggable template parser docs.
From the dev list, changed HTMLTemplateExpr to translate all dots in template
variables to underscores, since EXPR's don't do dots, just like TemplateToolkit.
2006-10-29 23:36:18 +00:00
Roy Johnson
153b13207f
merging tests and bug fixes from 7.1 branch
...
- fix Asset.t cache test
- fix Asset.t purgeCache test
- add Session.t test suite
2006-10-26 19:14:45 +00:00
Roy Johnson
e4d3e5839f
Added 3 new tests to article for the view method, caching of the view method, and the purgeCache method. They aren't quite working right yet though...
2006-10-18 22:42:58 +00:00
Colin Kuskie
d6a62df50c
This test is failing in the smoke-tests, but manual runs by two different
...
people on different OS'es are passing. I've added some diagnostic tests
to help us figure out what's going on.
2006-10-15 01:16:57 +00:00
Roy Johnson
a085db64df
Added new directory in t/ for collateral tests.
...
fix - article.t false failure on collateral copy.
Added new test to article.t for purge method.
2006-10-11 22:51:44 +00:00
Roy Johnson
518c76c6f1
A new test. It's currently failing but I'm not really sure why. It could be a bug but I think I'm testing this wrong.
2006-10-04 19:04:28 +00:00