Skip to content

Commit

Permalink
Moving All Tasks suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 25, 2010
1 parent d7b958f commit 6124eb6
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -34,15 +34,12 @@ class AllTasksTest extends PHPUnit_Framework_TestSuite {
* @return void
*/
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('All Tasks tests');
$suite = new CakeTestSuite('All Tasks tests');

$path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS;

$suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake.test.php');
$tasks = array('controller', 'extract', 'model', 'view', 'fixture', 'test', 'db_config', 'project', 'plugin');
foreach ($tasks as $task) {
$suite->addTestFile($path . $task . '.test.php');
}
$suite->addTestDirectory($path);
return $suite;
}
}
Expand Down

0 comments on commit 6124eb6

Please sign in to comment.