1 | <?php |
---|
2 | /** |
---|
3 | * AllCoreJavascriptHelpersGroupTest file |
---|
4 | * |
---|
5 | * |
---|
6 | * PHP versions 4 and 5 |
---|
7 | * |
---|
8 | * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> |
---|
9 | * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
---|
10 | * |
---|
11 | * Licensed under The Open Group Test Suite License |
---|
12 | * Redistributions of files must retain the above copyright notice. |
---|
13 | * |
---|
14 | * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
---|
15 | * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests |
---|
16 | * @package cake |
---|
17 | * @subpackage cake.tests.groups |
---|
18 | * @since CakePHP(tm) v 1.3 |
---|
19 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License |
---|
20 | */ |
---|
21 | /** |
---|
22 | * AllCoreJavascriptHelpersGroupTest class |
---|
23 | * |
---|
24 | * This test group will run all test in the cases/libs/view/helpers directory related |
---|
25 | * to Js helper and its engines |
---|
26 | * |
---|
27 | * @package cake |
---|
28 | * @subpackage cake.tests.groups |
---|
29 | */ |
---|
30 | class AllCoreJavascriptHelpersGroupTest extends TestSuite { |
---|
31 | /** |
---|
32 | * label property |
---|
33 | * |
---|
34 | * @var string 'All core helpers' |
---|
35 | * @access public |
---|
36 | */ |
---|
37 | var $label = 'Js Helper and all Engine Helpers'; |
---|
38 | /** |
---|
39 | * AllCoreHelpersGroupTest method |
---|
40 | * |
---|
41 | * @access public |
---|
42 | * @return void |
---|
43 | */ |
---|
44 | function AllCoreJavascriptHelpersGroupTest() { |
---|
45 | $helperTestPath = CORE_TEST_CASES . DS . 'libs' . DS . 'view' . DS . 'helpers' . DS; |
---|
46 | TestManager::addTestFile($this, $helperTestPath . 'js.test.php'); |
---|
47 | TestManager::addTestFile($this, $helperTestPath . 'jquery_engine.test.php'); |
---|
48 | TestManager::addTestFile($this, $helperTestPath . 'mootools_engine.test.php'); |
---|
49 | TestManager::addTestFile($this, $helperTestPath . 'prototype_engine.test.php'); |
---|
50 | } |
---|
51 | } |
---|