Commit graph

45 commits

Author SHA1 Message Date
Colin Kuskie
55ec1788ed Test fixes for cross repo-mixup. 2010-06-26 13:07:53 -07:00
Colin Kuskie
5febc0ebbc Merge commit '41575d24bb' into webgui8. Some tests still failing.
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/WikiPage.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/Cache.pm
	lib/WebGUI/Content/Setup.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Pay.pm
	lib/WebGUI/Shop/PayDriver/ITransact.pm
	sbin/testEnvironment.pl
	t/Asset/WikiPage.t
	t/Shop/PayDriver.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/Ogone.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Workflow/Activity/RemoveOldCarts.t
	t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
0ae4882906 Give tests prefixes so they run in a predictable order. 2010-05-27 20:54:14 -07:00
Colin Kuskie
c1cc94f280 Do not run the test suite on the support class. 2010-05-06 12:01:32 -07:00
Colin Kuskie
963690641e Remove tests that only test Asset.pm, and not all Asset sub-classes. 2010-04-19 16:16:49 -07:00
Colin Kuskie
e8d196c020 Produced assets should be refreshed from the db. 2010-04-11 20:35:20 -07:00
Colin Kuskie
2d4d95a01e Add 1 basic test for canPaste. 2010-04-11 20:24:23 -07:00
Colin Kuskie
a79f81346a Add tests for paste. Be sure to setup session->asset for canPaste tests. 2010-04-09 15:22:07 -07:00
Colin Kuskie
69904f66da Tests for cut. Total of 3081 tests so far. 2010-04-09 12:04:47 -07:00
Colin Kuskie
f36a30f2b9 Refactor out code to build an asset with a real parent. Add purge tests. 2010-04-09 11:46:36 -07:00
Colin Kuskie
45b6f45e4b Add tests for Article->getStorageLocation, call addToCleanup by classname. 2010-04-06 19:27:38 -07:00
Colin Kuskie
743e57c8ae Add a test for the Story asset. 2010-03-24 18:26:29 -07:00
Colin Kuskie
237eaa9990 Add a version tag so we work on a committed parent. 2010-03-24 17:02:05 -07:00
Colin Kuskie
82bc730a8a Remove another bad file. 2010-03-24 10:02:12 -07:00
Colin Kuskie
2a7f64c4ab Removing bad file. 2010-03-24 10:01:30 -07:00
Colin Kuskie
3229663c9f Add tests for Event, MatrixListing and WikiPage 2010-03-23 17:09:45 -07:00
Colin Kuskie
7c8979c823 Tests for Post and Thread 2010-03-23 16:15:33 -07:00
Colin Kuskie
e004eab9f5 New infrastructure for building the parents that an asset requires. 2010-03-23 16:15:09 -07:00
Colin Kuskie
d966711f00 List of parents for Gallery File, also inheritance fixes. 2010-03-23 16:07:22 -07:00
Colin Kuskie
5ad0dc21c3 Fix module line broken by previous commit and injudicious perl -pi 2010-03-23 16:06:55 -07:00
Colin Kuskie
9dc2977f95 Use correct inheritance for test modules. 2010-03-23 16:02:57 -07:00
Colin Kuskie
cbfe3825a8 Fixes for creating parents for testing. 2010-03-23 15:58:40 -07:00
Colin Kuskie
22bbf2e23c Check the Asset, not the class, and make sure it is loaded. 2010-03-23 11:54:19 -07:00
Colin Kuskie
454ac13a4b Remove debug code. 2010-03-22 16:50:26 -07:00
Colin Kuskie
a874b0201e Add a test to make sure every property has a table defined in it. If you need an attribute without a table, use has. 2010-03-19 14:48:55 -07:00
Colin Kuskie
b04651ecc8 No comments table in the WikiMaster. 2010-03-19 14:33:51 -07:00
Colin Kuskie
ae315972ea Forgot the custom test subclass. 2010-03-14 09:04:05 -07:00
Colin Kuskie
3a2f94f1b3 Test for some Sku's. 2010-03-13 20:27:20 -08:00
Colin Kuskie
d4eae41ba8 Add a test for Photo 2010-03-13 20:23:12 -08:00
Colin Kuskie
41fffbaf37 Remove FindBin from test class sub-modules. 2010-03-13 20:06:15 -08:00
Colin Kuskie
20507ee883 Calculate class to load. Remove class method from each test file. Fix typos. 2010-03-13 19:17:13 -08:00
Colin Kuskie
f7589e6237 Refactoring to remove putting className into each test class. WIP. 2010-03-12 10:30:29 -08:00
Colin Kuskie
85121c586c Move Test::Asset* to Test::WebGUI::Asset* 2010-03-12 09:00:20 -08:00
Colin Kuskie
8209de7978 Add tests for most other wobjects. Block broken code in Role/Asset/Comments. Refactor run_asset.t 2010-03-12 08:41:04 -08:00
Colin Kuskie
3ea797b2d4 Wobject tests, through letter M. 2010-03-12 08:06:49 -08:00
Colin Kuskie
fe5085f346 Tests for Gallery and HttpProxy 2010-03-09 15:57:43 -08:00
Colin Kuskie
4fa1e0084c Add Wobject tests. 2010-03-09 15:29:45 -08:00
Colin Kuskie
ffe4e7fd37 fix uiLevel tests, and loading multiple sessions. 2010-03-09 14:57:58 -08:00
Colin Kuskie
db6090559b Add a test for GalleryFile 2010-03-09 13:59:31 -08:00
Colin Kuskie
b60149d01b Tests for Image, ZipArchive 2010-03-09 13:52:07 -08:00
Colin Kuskie
bc71165a16 Add T::C tests for Redirect, RichEdit,Shortcut,Sku, Template and Wobject. 2010-03-09 13:43:58 -08:00
Colin Kuskie
3b0e89341d Add T::C tests for File and Snippet. 2010-03-09 13:07:51 -08:00
Colin Kuskie
6f9b891712 Convert more tests over to Test::Class 2010-03-05 15:16:46 -08:00
Colin Kuskie
006bda8dd0 More Test::Class tests for AssetBase.pm 2010-03-04 16:07:48 -08:00
Colin Kuskie
f5f1839945 Begin converting t/Asset.t over to Test::Class 2010-03-04 15:36:44 -08:00