Skip to content
Permalink
Browse files

Updating Javascript group test to PHPUnit.

  • Loading branch information...
markstory committed Jun 13, 2010
1 parent 4b2e9d3 commit d894f01f70045652ec2883f4ee6882e054b2c646
Showing with 7 additions and 6 deletions.
  1. +7 −6 cake/tests/groups/javascript.group.php
@@ -27,7 +27,7 @@
* @package cake
* @subpackage cake.tests.groups
*/
class AllCoreJavascriptHelpersGroupTest extends TestSuite {
class JavascriptGroupTest extends CakeTestSuite {
/**
* label property
*
@@ -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.
You can’t perform that action at this time.