mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Moving View group over to PHPUnit style group test.
This commit is contained in:
parent
7c694bf560
commit
129098e16c
1 changed files with 8 additions and 14 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue