2009-04-06 21:12:43 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* AllCoreJavascriptHelpersGroupTest file
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
2010-05-18 22:15:13 -03:00
|
|
|
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
|
2009-11-06 17:46:59 +11:00
|
|
|
* Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2009-04-06 21:12:43 -04:00
|
|
|
*
|
|
|
|
* Licensed under The Open Group Test Suite License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2009-11-06 17:46:59 +11:00
|
|
|
* @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-05-18 22:15:13 -03:00
|
|
|
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
|
2009-04-06 21:12:43 -04:00
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.tests.groups
|
2009-07-17 00:09:06 -04:00
|
|
|
* @since CakePHP(tm) v 1.3
|
2009-04-06 21:12:43 -04:00
|
|
|
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* AllCoreJavascriptHelpersGroupTest class
|
|
|
|
*
|
2009-04-06 21:18:43 -04:00
|
|
|
* This test group will run all test in the cases/libs/view/helpers directory related
|
|
|
|
* to Js helper and its engines
|
2009-04-06 21:12:43 -04:00
|
|
|
*
|
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.tests.groups
|
|
|
|
*/
|
2010-06-13 00:01:47 -04:00
|
|
|
class AllJavascriptHelpersTest extends PHPUnit_Framework_TestSuite {
|
2010-06-12 23:51:40 -04:00
|
|
|
|
2009-04-06 21:12:43 -04:00
|
|
|
/**
|
2010-06-12 23:51:40 -04:00
|
|
|
* Suite define the tests for this suite
|
2009-04-06 21:12:43 -04:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2010-06-12 23:51:40 -04:00
|
|
|
public static function suite() {
|
2010-06-13 00:01:47 -04:00
|
|
|
$suite = new PHPUnit_Framework_TestSuite('Js Helper and all Engine Helpers');
|
2010-06-12 23:51:40 -04:00
|
|
|
|
2009-04-06 21:12:43 -04:00
|
|
|
$helperTestPath = CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS;
|
2010-06-12 23:51:40 -04:00
|
|
|
$suite->addTestFile($helperTestPath . 'js.test.php');
|
|
|
|
$suite->addTestFile($helperTestPath . 'jquery_engine.test.php');
|
|
|
|
$suite->addTestFile($helperTestPath . 'mootools_engine.test.php');
|
|
|
|
$suite->addTestFile($helperTestPath . 'prototype_engine.test.php');
|
|
|
|
return $suite;
|
2009-04-06 21:12:43 -04:00
|
|
|
}
|
|
|
|
}
|