/cake/tests/cases/libs/view/helpers/js.test.php

https://github.com/hardsshah/bookmarks · PHP · 72 lines · 23 code · 0 blank · 49 comment · 1 complexity · 62650d9780bd74f18fcbc49cd71a3a88 MD5 · raw file

  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * JsHelperTest file
  5. *
  6. * Long description for file
  7. *
  8. * PHP versions 4 and 5
  9. *
  10. * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
  11. * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  12. *
  13. * Licensed under The Open Group Test Suite License
  14. * Redistributions of files must retain the above copyright notice.
  15. *
  16. * @filesource
  17. * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
  18. * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
  19. * @package cake
  20. * @subpackage cake.tests.cases.libs.view.helpers
  21. * @since CakePHP(tm) v 1.2.0.4206
  22. * @version $Revision$
  23. * @modifiedby $LastChangedBy$
  24. * @lastmodified $Date$
  25. * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
  26. */
  27. if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
  28. define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
  29. }
  30. uses(
  31. 'view' . DS . 'helpers' . DS . 'app_helper',
  32. 'controller' . DS . 'controller',
  33. 'model' . DS . 'model',
  34. 'view' . DS . 'helper',
  35. 'view' . DS . 'helpers' . DS . 'js'
  36. );
  37. /**
  38. * JsHelperTest class
  39. *
  40. * @package cake
  41. * @subpackage cake.tests.cases.libs.view.helpers
  42. */
  43. class JsHelperTest extends UnitTestCase {
  44. /**
  45. * skip method
  46. *
  47. * @access public
  48. * @return void
  49. */
  50. function skip() {
  51. $this->skipif (true, 'JsHelper test not implemented');
  52. }
  53. /**
  54. * setUp method
  55. *
  56. * @access public
  57. * @return void
  58. */
  59. function setUp() {
  60. $this->Js = new JsHelper();
  61. }
  62. /**
  63. * tearDown method
  64. *
  65. * @access public
  66. * @return void
  67. */
  68. function tearDown() {
  69. unset($this->Js);
  70. }
  71. }
  72. ?>