Jeremy Harris
|
1f0c57c4ee
|
Fixed aliasing so it works with plugins in the 'className' key
|
2011-01-14 17:44:33 -08:00 |
|
Jeremy Harris
|
2b596859cb
|
Reversed alias and actual class to be more consistent with how Model aliases load and to make migration easier
|
2011-01-13 18:04:06 -08:00 |
|
Jeremy Harris
|
9749dc808d
|
Allowed helpers to be aliased by setting the 'alias' key
|
2011-01-09 18:27:53 -08:00 |
|
mark_story
|
ef77e60cb0
|
Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
|
2010-12-24 14:09:57 -05:00 |
|
mark_story
|
e20ea8ad72
|
Renaming Dispatcher::__loadRoutes -> Dispatcher::_loadRoutes to match naming conventions.
Updating method name usage, as assertType is deprecated as of PHPUnit 3.5.6
|
2010-12-24 12:54:04 -05:00 |
|
mark_story
|
1531a7226e
|
Removing duplicated tests, and tests for methods that are not implemented in the subclasses.
|
2010-12-14 23:26:24 -05:00 |
|
mark_story
|
dc7ff8911d
|
Fixing tests in ComponentCollection and HelperCollection as return of trigger now depends on the triggered objects.
Removing annoying test that broke anytime something changed in Model.
|
2010-12-12 18:02:45 -05:00 |
|
mark_story
|
3216c902cd
|
Removing the enable parameter on HelperCollection, BehaviorCollection, and ComponentCollection. They all now support the enabled option that Behaviors have historically supported. This provides a simpler API with fewer arguments, and allows callbacks to be disabled on objects in their declared arrays.
Test cases updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
1ba28c246b
|
Adding settings['callbacks'] as a way to define enabled/disabled state of helpers in settings arrays. This should replace the separate parameter.
Tests updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
5d697b9d6e
|
Fixing tests where objects were not added to the mockObjects lists, making their expects() not count.
|
2010-09-14 22:39:05 -04:00 |
|
mark_story
|
19f008b1a4
|
Fixing broken tests in HelperCollectionTest
Moving unload into ObjectCollection as its common between 2 child classes, and possibly a 3rd.
|
2010-08-10 23:18:40 -04:00 |
|
mark_story
|
54132cba79
|
Adding return checks, and changing mock creation.
|
2010-08-10 23:18:40 -04:00 |
|
mark_story
|
337ab19145
|
Updating ObjectCollection::trigger() so it doesn't call __get().
Updating HelperCollection test which was passing by coincidence.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
62019888ba
|
Changing file headers to reflect accurate licences and versions created.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
fc3379767d
|
Moving methods around. ObjectCollection now normalizes helpers arrays. Plugin helpers now lazy load.
Tests updated.
|
2010-08-10 23:18:38 -04:00 |
|
mark_story
|
16d5b2655c
|
Adding a way to load helpers in a disabled state. Updating tests and subclasses.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
aa61a251dc
|
Deprecating BehaviorCollection::attach() and BehaviorCollection::detach(). load() and unload() are more generic and make sense in other contexts.
Adding base trigger implementation.
Adding tests for helper triggering.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
9fd881cb00
|
Moving methods down and adding some tests.
|
2010-08-10 23:18:36 -04:00 |
|
mark_story
|
6db3dbc680
|
Starting to create HelperCollection which will be responsible for loading and constructing helpers.
Making an abstract class that will be the base of all object collections.
Adding test cases.
|
2010-08-10 23:18:36 -04:00 |
|