From fdfe8060c63295d4d997b04184f8b8260db6f76a Mon Sep 17 00:00:00 2001 From: mark_story <mark@mark-story.com> Date: Sat, 31 Jul 2010 16:21:00 -0400 Subject: [PATCH] Adding collection tests to test suites. --- cake/tests/cases/libs/all_helpers.test.php | 1 + .../cases/libs/controller/components/all_components.test.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/all_helpers.test.php b/cake/tests/cases/libs/all_helpers.test.php index 8631cebb3..e1d9c2508 100644 --- a/cake/tests/cases/libs/all_helpers.test.php +++ b/cake/tests/cases/libs/all_helpers.test.php @@ -38,6 +38,7 @@ class AllHelpersTest extends PHPUnit_Framework_TestSuite { $suite = new PHPUnit_Framework_TestSuite('All Helper tests'); $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper.test.php'); + $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helper_collection.test.php'); $helperIterator = new DirectoryIterator(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS); diff --git a/cake/tests/cases/libs/controller/components/all_components.test.php b/cake/tests/cases/libs/controller/components/all_components.test.php index d6249d687..798e0a1d7 100644 --- a/cake/tests/cases/libs/controller/components/all_components.test.php +++ b/cake/tests/cases/libs/controller/components/all_components.test.php @@ -35,8 +35,9 @@ class AllComponentsTest extends PHPUnit_Framework_TestSuite { */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('All component class tests'); - + $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component.test.php'); + $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component_collection.test.php'); $iterator = new DirectoryIterator(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components'); foreach ($iterator as $i => $file) {