Commit graph

1928 commits

Author SHA1 Message Date
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
Colin Kuskie
c1a3030191 Another Article method change. 2010-02-04 15:22:23 -08:00
Colin Kuskie
5203c35563 Remove test for headBlock handling. 2010-02-04 12:53:51 -08:00
Colin Kuskie
4a240ba0e0 Test cleanup, and add extra tests for sanity checks. 2010-02-03 18:34:21 -08:00
Colin Kuskie
4089e39d58 Peel out permissions testing from t/Asset/Asset.t into a separate test. 2010-02-02 08:17:26 -08:00
Colin Kuskie
006570a05a newByUrl should throw an exception. Test it. 2010-01-29 17:35:19 -08:00
Colin Kuskie
387866cfcb Update Asset::File for Moose 2010-01-29 17:17:38 -08:00
Colin Kuskie
193d30ec41 Fix the RootTitle macro. 2010-01-27 21:38:12 -08:00
Colin Kuskie
1736b481b6 Update Article for Moose 2010-01-26 16:13:36 -08:00
Colin Kuskie
0f32e9b6fb Fix the AssetLineage test that I broke. 2010-01-26 15:21:15 -08:00
Colin Kuskie
7e7bc9ca20 Label loop inside getLineage. Drop a clause from getLineageSql, since we can use LIKE to make sure the lineage does not include the parent. Move getLineage tests to the top since downstream tests depend on getting assets in lineage order. 2010-01-26 12:55:40 -08:00
Colin Kuskie
eb60168627 sessionification of AssetLineage, conversion to use moose accessors. 2010-01-26 07:25:51 -08:00
Colin Kuskie
e940dc0427 Change this test to use a Snippet instead of a Template. 2010-01-25 22:52:25 -08:00
Colin Kuskie
d66b3b891b Make revisedBy a property, so it gets written on ->update. Change addRev not to write to the db when it does not need to. Update tests to verify that addRev does the right thing for tagId and revisedBy. 2010-01-25 22:49:22 -08:00
Colin Kuskie
9155f70555 rework test to handle loss of getProperty. use find_attribute_by_name instead. 2010-01-25 19:30:58 -08:00
Colin Kuskie
42b8237f1f make sure get returns aspects _and_ properties. 2010-01-25 19:24:17 -08:00
Colin Kuskie
d4f31870a3 change the name attribute to aspect to denote asset level static attributes like tableName, et. al. 2010-01-25 19:16:05 -08:00
Colin Kuskie
5b24340994 sessionify duplicate. Tweak AssetClipboard test to use Moose methods. 2010-01-22 18:36:54 -08:00
Colin Kuskie
de34ab3b95 fix getLineage. All tests in t/Asset/AssetTrash.t are passing. 2010-01-22 15:25:50 -08:00
Colin Kuskie
451eb33f0f Fix requestAutoCommit. All tests in t/Asset/Asset.t passing. 2010-01-22 15:10:23 -08:00
Colin Kuskie
e5affbd0c2 Add tagId property, fix cloneFromDb. Fix several tests. 2010-01-22 11:42:05 -08:00
Colin Kuskie
5c3a3d440b Fix inheritUrlFromParent, using trigger instead of around. 2010-01-22 11:07:46 -08:00