Colin Kuskie
|
8c759ed7bc
|
Implement keywords differently (successfully) in the Asset class. Extra tests to verify it in Asset.t
|
2010-06-04 11:33:06 -07:00 |
|
Colin Kuskie
|
74b500e443
|
Tests for properties that should be returned by get, and some that should not. Done by hash inspection.
|
2010-06-02 16:37:00 -07:00 |
|
Colin Kuskie
|
eeef1a2349
|
Add tests for setVersionLock, no more test plans.
|
2010-05-28 12:00:26 -07:00 |
|
Colin Kuskie
|
841e9d5784
|
fix purgeCache in Asset.pm. Add a test for it to Asset.t
|
2010-04-19 16:36:22 -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
|
122bd26afa
|
Add keywords accessor for looking up Asset keywords.
|
2010-03-03 11:03:35 -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
|
42b8237f1f
|
make sure get returns aspects _and_ properties.
|
2010-01-25 19:24:17 -08:00 |
|
Colin Kuskie
|
12e7981cc3
|
Fix a typo in a test.
|
2010-01-22 08:12:24 -08:00 |
|
Colin Kuskie
|
bf0c95d910
|
Update test for changes in Asset.pm
|
2010-01-21 20:52:21 -08:00 |
|
Colin Kuskie
|
0a6e0b1160
|
test for new, with no assetId. Apparently, you cannot return undef from BUILDARGS.
|
2010-01-20 21:56:15 -08:00 |
|
Colin Kuskie
|
b12ed7ef47
|
Tests for getDefault.
|
2010-01-20 20:58:27 -08:00 |
|
Colin Kuskie
|
a00d173fe6
|
Rough conversion of Shortcut to Moose, so Asset cleanup works. Fix a bug in getLineage. Update tests for get_tables.
|
2010-01-20 19:12:04 -08:00 |
|
Colin Kuskie
|
caa1f330b8
|
Fix newByPropertyHashRef, which is required for class dispatch. Add tests. Fix addChild to use newByPropertyHashRef.
|
2010-01-20 18:44:48 -08:00 |
|
Colin Kuskie
|
675bc49f05
|
tests for getParent and addRevision.
|
2010-01-15 17:01:22 -08:00 |
|
Colin Kuskie
|
7ee588c38e
|
Update the migration docs a little. Begin to build a test for addChild/addRev.
|
2010-01-14 13:34:44 -08:00 |
|
Colin Kuskie
|
1331bf9828
|
Remove more instances of direct hash access for properties.
|
2010-01-14 10:31:38 -08:00 |
|
Colin Kuskie
|
02861471cb
|
Tests for update
|
2010-01-14 08:55:33 -08:00 |
|
Colin Kuskie
|
da6bbd1669
|
Fix setSize to work with Moose attributes. Update the SQL query.
|
2010-01-13 17:08:34 -08:00 |
|
Colin Kuskie
|
10ca1fd206
|
Tests for writing to the database.
|
2010-01-13 16:43:25 -08:00 |
|
Colin Kuskie
|
d14db689b8
|
Stubbing out tests for assetId, write.
|
2010-01-13 10:31:44 -08:00 |
|
Colin Kuskie
|
0627d7adbf
|
add uiLevel asset attribute. Begin to work on write.
|
2010-01-04 19:14:53 -08:00 |
|
Colin Kuskie
|
ce3edcf743
|
Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/;
|
2010-01-04 15:34:24 -08:00 |
|
Colin Kuskie
|
b72e3a1cd1
|
getClassById encapculates getting a className from the database, indexed by assetId.
Also, work on newById, newByUrl.
|
2010-01-04 11:33:09 -08:00 |
|
Colin Kuskie
|
fde81306c6
|
Asset work related to class dispatch.
|
2010-01-04 10:59:48 -08:00 |
|
Colin Kuskie
|
38144bd58f
|
Add assetId attribute to Asset.pm, and tests.
|
2009-12-30 08:35:21 -08:00 |
|
Colin Kuskie
|
cb0ca14958
|
Add a test for get.
|
2009-12-29 12:05:23 -08:00 |
|
Colin Kuskie
|
6733595dfc
|
Fix title, menuTitle and url around modifiers. Tests for title, menuTitle.
menuTitle is set to be lazy because it depends on title as a default.
|
2009-12-28 18:36:19 -08:00 |
|
Colin Kuskie
|
0fd922daed
|
First work with BUILDARGS. Set defaults for the title,menuTitle. Some tests in t/Asset.t
From this point forward, WebGUI::Asset->new($session, $assetId)
will only return the Root node, and not any other classes.
|
2009-12-27 19:05:20 -08:00 |
|