Skip to content

Commit

Permalink
Migrating Controller group to PHPUnit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 25, 2010
1 parent b3faa7f commit 7f9f76d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 49 deletions.
46 changes: 46 additions & 0 deletions cake/tests/cases/libs/controller/all_controllers.test.php
@@ -0,0 +1,46 @@
<?php
/**
* AllControllersTest file
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package cake
* @subpackage cake.tests.cases
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

/**
* AllControllersTest class
*
* This test group will run cache engine tests.
*
* @package cake
* @subpackage cake.tests.groups
*/
class AllControllersTest extends PHPUnit_Framework_TestSuite {

/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('All Controller related class tests');

$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'controller.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'scaffold.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'pages_controller.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'controller_merge_vars.test.php');
return $suite;
}
}
49 changes: 0 additions & 49 deletions cake/tests/groups/controller.group.php

This file was deleted.

0 comments on commit 7f9f76d

Please sign in to comment.