Moving View group over to PHPUnit style group test.

This commit is contained in:
mark_story 2010-06-13 10:10:16 -04:00
parent 7c694bf560
commit 129098e16c

View file

@ -26,24 +26,18 @@
* @package cake * @package cake
* @subpackage cake.tests.groups * @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 * @return void
*/ */
function ViewsGroupTest() { public static function suite() {
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'view'); $suite = new PHPUnit_Framework_TestSuite('All View class tests');
TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'theme');
$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;
} }
} }