Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updating Javascript group test to PHPUnit.
  • Loading branch information
markstory committed Jun 13, 2010
1 parent 4b2e9d3 commit d894f01
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cake/tests/groups/javascript.group.php
Expand Up @@ -27,7 +27,7 @@
* @package cake
* @subpackage cake.tests.groups
*/
class AllCoreJavascriptHelpersGroupTest extends TestSuite {
class JavascriptGroupTest extends CakeTestSuite {
/**
* label property
*
Expand All @@ -41,11 +41,12 @@ class AllCoreJavascriptHelpersGroupTest extends TestSuite {
* @access public
* @return void
*/
function AllCoreJavascriptHelpersGroupTest() {
function __construct($theClass = '', $name = '') {
parent::__construct($theClass, $name);
$helperTestPath = CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS;
TestManager::addTestFile($this, $helperTestPath . 'js.test.php');
TestManager::addTestFile($this, $helperTestPath . 'jquery_engine.test.php');
TestManager::addTestFile($this, $helperTestPath . 'mootools_engine.test.php');
TestManager::addTestFile($this, $helperTestPath . 'prototype_engine.test.php');
$this->addTestFile($helperTestPath . 'js.test.php');
$this->addTestFile($helperTestPath . 'jquery_engine.test.php');
$this->addTestFile($helperTestPath . 'mootools_engine.test.php');
$this->addTestFile($helperTestPath . 'prototype_engine.test.php');
}
}

0 comments on commit d894f01

Please sign in to comment.