Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add missing tests
  • Loading branch information
ceeram committed Jan 12, 2012
1 parent 97ce118 commit 9c652e6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Cake/Test/Case/AllDatabaseTest.php
Expand Up @@ -43,7 +43,10 @@ public static function suite() {
'Datasource' . DS . 'Database' . DS . 'Mysql',
'Datasource' . DS . 'Database' . DS . 'Postgres',
'Datasource' . DS . 'Database' . DS . 'Sqlite',
'Datasource' . DS . 'Database' . DS . 'Sqlserver'
'Datasource' . DS . 'Database' . DS . 'Sqlserver',
'Datasource' . DS . 'CakeSession',
'Datasource' . DS . 'Session' . DS . 'CacheSession',
'Datasource' . DS . 'Session' . DS . 'DatabaseSession',
);
foreach ($tasks as $task) {
$suite->addTestFile($path . $task . 'Test.php');
Expand Down
40 changes: 40 additions & 0 deletions lib/Cake/Test/Case/AllEventTest.php
@@ -0,0 +1,40 @@
<?php
/**
* AllEventTest file
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Test.Case
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

/**
* AllEventTest class
*
* This test group will run Event tests.
*
* @package Cake.Test.Case
*/
class AllEventTest extends PHPUnit_Framework_TestSuite {

/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite() {
$suite = new CakeTestSuite('All Event related class tests');
$suite->addTestDirectory(CORE_TEST_CASES . DS . 'Event');
return $suite;
}
}

1 change: 1 addition & 0 deletions lib/Cake/Test/Case/AllTestsTest.php
Expand Up @@ -45,6 +45,7 @@ public static function suite() {
$suite->addTestFile($path . 'AllControllerTest.php');
$suite->addTestFile($path . 'AllDatabaseTest.php');
$suite->addTestFile($path . 'AllErrorTest.php');
$suite->addTestFile($path . 'AllEventTest.php');
$suite->addTestFile($path . 'AllHelpersTest.php');
$suite->addTestFile($path . 'AllLogTest.php');
$suite->addTestFile($path . 'AllI18nTest.php');
Expand Down

0 comments on commit 9c652e6

Please sign in to comment.