Adding collection tests to test suites.

This commit is contained in:
mark_story 2010-07-31 16:21:00 -04:00
parent 6d9cee57ba
commit fdfe8060c6
2 changed files with 3 additions and 1 deletions

View file

@ -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);

View file

@ -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) {