Skip to content

Commit

Permalink
Moving View group over to PHPUnit style group test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 13, 2010
1 parent 7c694bf commit 129098e
Showing 1 changed file with 8 additions and 14 deletions.
Expand Up @@ -26,24 +26,18 @@
* @package cake
* @subpackage cake.tests.groups
*/
class ViewsGroupTest extends TestSuite {
class AllViewsTest extends PHPUnit_Framework_TestSuite {

/**
* label property
* suite method, defines tests for this suite.
*
* @var string 'All core views'
* @access public
*/
public $label = 'View and ThemeView';

/**
* ViewsGroupTest method
*
* @access public
* @return void
*/
function ViewsGroupTest() {
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme');
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('All View class tests');

$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme.test.php');
return $suite;
}
}

0 comments on commit 129098e

Please sign in to comment.