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
JT Smith
f8d22359d5
Images now create revisions as you resize them, so you can roll back to a
...
previous size.
adjusted roy's test because it's not accurate
2006-09-27 21:19:19 +00:00
Roy Johnson
41bd19736c
New test for Article Wobject
2006-09-26 18:38:31 +00:00
Colin Kuskie
adb099dcea
Add test to make sure Import Node's parent is Asset Root.
2006-09-07 20:12:05 +00:00
Roy Johnson
6b2eeba271
Added test for import node constructor
2006-09-07 18:39:22 +00:00
Roy Johnson
da1b2d3581
test to check the getMedia asset constructor
2006-08-16 21:23:05 +00:00
Frank Dillon
0703c41165
added tests for newByHashref constructor
2006-08-16 13:52:19 +00:00
Colin Kuskie
000b2fcce3
Reverting previous work. Asset->new must return an Asset, even if
...
no className is passed and the invocant's class is Asset. This is
due to the root. In the db, the root Asset has the className WebGUI::Asset,
and the getRoot method matches this.
Changed the failing test in Asset.t to look for a WebGUI::Asset to be returned.
Added two tests to Asset.t to validate the object returned by Asset->getRoot method.
Reverted previous work and updated the POD for Asset->new.
2006-08-08 17:43:44 +00:00
Roy Johnson
2e80acb9e8
10 new tests for Asset
2006-08-02 19:38:55 +00:00
JT Smith
61eb59c7f8
bug fixes and new tests
2006-08-02 15:39:23 +00:00
Roy Johnson
93fc3bfa88
Started a new test suite for assets
2006-08-02 15:35:03 +00:00
Colin Kuskie
56ec67626d
use Test::More::is_deeply instead of custom sub and implement check for simple inheritance in Asset classes
2006-06-15 22:33:36 +00:00
Colin Kuskie
c6342a6225
baseline testing for Asset versioning code
2006-05-17 03:52:52 +00:00
Colin Kuskie
04911c04e9
removing diag output
2006-04-19 16:07:46 +00:00
Colin Kuskie
03c79ce1d0
comment out debugging output
2006-04-03 16:00:33 +00:00
Colin Kuskie
9a6e77c4eb
cleanup tests, make testCodebase.pl work with traditional --configFile syntax
2006-03-09 01:00:27 +00:00
Colin Kuskie
65590997b6
Fix error in TabForm POD (get vs getTab)
...
POD for WebGUI.pm
Table of Contents has tabbed interface
viewHelp filters tabs by the user's UI level
2006-03-06 16:30:11 +00:00
Colin Kuskie
4e9eb32635
Added a new set of tests for checking the integrity of the WebGUI database.
...
The first tests, Asset_diagnose.t checks that assetIds match in tables
asset, assetData and each Asset's default table.
Asset/Wobject/DataForm_diagnose.t adds tests for verifying DataForm
collateral tables, DataForm_field and DataForm_tab. With a few
small changes, the test could also cover the DataForm data tables,
DataForm_entry and DataForm_entryData.
The tests are optimized to do a quick preliminary test, and if this
test fails, then an in-depth test is run. This second test will
run a VERY VERY VERY long time, but will tell you exactly what's
missing from your tables.
The new tests require the module Test::Deep, for comparing data structures.
2006-02-26 04:03:10 +00:00
Colin Kuskie
9499e17cfd
stricter template checking
2006-01-17 23:19:32 +00:00
Christian Hansen
831f5a36e1
ported t/A-M to use WebGUI::Test
2006-01-17 21:22:11 +00:00
JT Smith
3fd57a3559
more session related bug fixes
2006-01-17 05:36:56 +00:00
JT Smith
b1b4e50619
added a test for template
2006-01-17 05:09:57 +00:00
JT Smith
80a5518717
addding test for Template
...
fixed more session bugs
2006-01-17 03:57:18 +00:00