Commit graph

1949 commits

Author SHA1 Message Date
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
a8496c4d15 Convert Comments role to use Types. Build a test for it. 2010-03-18 15:06:17 -07:00
Colin Kuskie
d3f139d43c Test WebGUI::Types 2010-03-18 14:46:32 -07:00
Colin Kuskie
e076ecbfe2 Add tests for traits and coercion for JSON in the db. 2010-03-18 09:00:21 -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
790ccbe046 Fix script to work and load the utility test module. 2010-03-13 20:05:57 -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
e0e71a5925 Add Navigation, Poll, ProjectManager to run script. 2010-03-12 08:16:42 -08:00
Colin Kuskie
3ea797b2d4 Wobject tests, through letter M. 2010-03-12 08:06:49 -08:00
Colin Kuskie
570eea7d91 Add test for passing through traits. 2010-03-11 13:42:38 -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
87c00d41c1 appending to an attribute must quote the + 2010-03-09 13:43:22 -08:00
Colin Kuskie
3b0e89341d Add T::C tests for File and Snippet. 2010-03-09 13:07:51 -08:00
Colin Kuskie
a3614f5211 Move uiLevel from a define to a property so it can be inherited. 2010-03-09 12:58:55 -08:00
Colin Kuskie
6f9b891712 Convert more tests over to Test::Class 2010-03-05 15:16:46 -08:00
Colin Kuskie
3c790d9ce5 Add Role presence tests. 2010-03-05 08:51:16 -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
Colin Kuskie
669f8031f9 check for get, set, update in Definition/Asset.t 2010-03-04 12:45:33 -08:00
Colin Kuskie
44c6048da4 Update test for exception handling. 2010-03-03 11:10:16 -08:00
Colin Kuskie
122bd26afa Add keywords accessor for looking up Asset keywords. 2010-03-03 11:03:35 -08:00
Graham Knop
12fcdf201f almost working using metaclass roles 2010-02-26 16:55:57 -06:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Doug Bell
845ede878a Merge branch 'asset-helpers' into 8
Conflicts:
	README
	lib/WebGUI/Role/Asset/AlwaysHidden.pm
2010-02-17 15:24:46 -06:00
Colin Kuskie
abaeab36e0 Refactor code to force assets to always be hidden into a role and use it. 2010-02-16 08:50:00 -08:00
Colin Kuskie
d6cbcf4604 getFormProperties now also passes i18n arguments to sprintf if requested. 2010-02-12 11:33:23 -08:00
Colin Kuskie
d41affa4cc Update Survey for Moose and new accessors. Also update the tests. 2010-02-11 13:54:46 -08:00
Colin Kuskie
b6e56566c1 Fix deleteFileUrl for image*, warranty, brochure and other file collateral in the product. 2010-02-09 20:38:21 -08:00
Colin Kuskie
3b70d64b82 rework WebGUI::Definition::Role::Object when passing sub refs for form property values. 2010-02-09 19:28:45 -08:00
Colin Kuskie
b2b03b662c Better cleanup for a Shortcut test. 2010-02-09 10:52:23 -08:00