AllTests.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_View
  17. * @subpackage UnitTests
  18. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. if (!defined('PHPUnit_MAIN_METHOD')) {
  23. define('PHPUnit_MAIN_METHOD', 'Zend_View_Helper_AllTests::main');
  24. }
  25. require_once 'Zend/View/Helper/ActionTest.php';
  26. require_once 'Zend/View/Helper/BaseUrlTest.php';
  27. require_once 'Zend/View/Helper/CurrencyTest.php';
  28. require_once 'Zend/View/Helper/CycleTest.php';
  29. require_once 'Zend/View/Helper/DeclareVarsTest.php';
  30. require_once 'Zend/View/Helper/DoctypeTest.php';
  31. require_once 'Zend/View/Helper/FieldsetTest.php';
  32. require_once 'Zend/View/Helper/FormButtonTest.php';
  33. require_once 'Zend/View/Helper/FormCheckboxTest.php';
  34. require_once 'Zend/View/Helper/FormErrorsTest.php';
  35. require_once 'Zend/View/Helper/FormFileTest.php';
  36. require_once 'Zend/View/Helper/FormImageTest.php';
  37. require_once 'Zend/View/Helper/FormLabelTest.php';
  38. require_once 'Zend/View/Helper/FormMultiCheckboxTest.php';
  39. require_once 'Zend/View/Helper/FormPasswordTest.php';
  40. require_once 'Zend/View/Helper/FormRadioTest.php';
  41. require_once 'Zend/View/Helper/FormResetTest.php';
  42. require_once 'Zend/View/Helper/FormSelectTest.php';
  43. require_once 'Zend/View/Helper/FormSubmitTest.php';
  44. require_once 'Zend/View/Helper/FormTest.php';
  45. require_once 'Zend/View/Helper/FormTextTest.php';
  46. require_once 'Zend/View/Helper/FormTextareaTest.php';
  47. require_once 'Zend/View/Helper/GravatarTest.php';
  48. require_once 'Zend/View/Helper/HeadLinkTest.php';
  49. require_once 'Zend/View/Helper/HeadMetaTest.php';
  50. require_once 'Zend/View/Helper/HeadScriptTest.php';
  51. require_once 'Zend/View/Helper/HeadStyleTest.php';
  52. require_once 'Zend/View/Helper/HeadTitleTest.php';
  53. require_once 'Zend/View/Helper/HtmlFlashTest.php';
  54. require_once 'Zend/View/Helper/HtmlListTest.php';
  55. require_once 'Zend/View/Helper/HtmlObjectTest.php';
  56. require_once 'Zend/View/Helper/HtmlPageTest.php';
  57. require_once 'Zend/View/Helper/HtmlQuicktimeTest.php';
  58. require_once 'Zend/View/Helper/InlineScriptTest.php';
  59. require_once 'Zend/View/Helper/JsonTest.php';
  60. require_once 'Zend/View/Helper/LayoutTest.php';
  61. require_once 'Zend/View/Helper/Navigation/AllTests.php';
  62. require_once 'Zend/View/Helper/PaginationControlTest.php';
  63. require_once 'Zend/View/Helper/PartialTest.php';
  64. require_once 'Zend/View/Helper/PartialLoopTest.php';
  65. require_once 'Zend/View/Helper/PlaceholderTest.php';
  66. require_once 'Zend/View/Helper/Placeholder/ContainerTest.php';
  67. require_once 'Zend/View/Helper/Placeholder/RegistryTest.php';
  68. require_once 'Zend/View/Helper/Placeholder/StandaloneContainerTest.php';
  69. require_once 'Zend/View/Helper/ServerUrlTest.php';
  70. require_once 'Zend/View/Helper/TranslateTest.php';
  71. require_once 'Zend/View/Helper/UrlTest.php';
  72. require_once 'Zend/View/Helper/UserAgentTest.php';
  73. /**
  74. * @category Zend
  75. * @package Zend_View
  76. * @subpackage UnitTests
  77. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  78. * @license http://framework.zend.com/license/new-bsd New BSD License
  79. * @group Zend_View
  80. * @group Zend_View_Helper
  81. */
  82. class Zend_View_Helper_AllTests
  83. {
  84. public static function main()
  85. {
  86. PHPUnit_TextUI_TestRunner::run(self::suite());
  87. }
  88. public static function suite()
  89. {
  90. $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_View_Helper');
  91. $suite->addTestSuite('Zend_View_Helper_ActionTest');
  92. $suite->addTestSuite('Zend_View_Helper_BaseUrlTest');
  93. $suite->addTestSuite('Zend_View_Helper_CurrencyTest');
  94. $suite->addTestSuite('Zend_View_Helper_CycleTest');
  95. $suite->addTestSuite('Zend_View_Helper_DeclareVarsTest');
  96. $suite->addTestSuite('Zend_View_Helper_DoctypeTest');
  97. $suite->addTestSuite('Zend_View_Helper_FieldsetTest');
  98. $suite->addTestSuite('Zend_View_Helper_FormButtonTest');
  99. $suite->addTestSuite('Zend_View_Helper_FormCheckboxTest');
  100. $suite->addTestSuite('Zend_View_Helper_FormErrorsTest');
  101. $suite->addTestSuite('Zend_View_Helper_FormFileTest');
  102. $suite->addTestSuite('Zend_View_Helper_FormImageTest');
  103. $suite->addTestSuite('Zend_View_Helper_FormLabelTest');
  104. $suite->addTestSuite('Zend_View_Helper_FormMultiCheckboxTest');
  105. $suite->addTestSuite('Zend_View_Helper_FormPasswordTest');
  106. $suite->addTestSuite('Zend_View_Helper_FormRadioTest');
  107. $suite->addTestSuite('Zend_View_Helper_FormResetTest');
  108. $suite->addTestSuite('Zend_View_Helper_FormSelectTest');
  109. $suite->addTestSuite('Zend_View_Helper_FormSubmitTest');
  110. $suite->addTestSuite('Zend_View_Helper_FormTest');
  111. $suite->addTestSuite('Zend_View_Helper_FormTextTest');
  112. $suite->addTestSuite('Zend_View_Helper_FormTextareaTest');
  113. $suite->addTestSuite('Zend_View_Helper_GravatarTest');
  114. $suite->addTestSuite('Zend_View_Helper_HeadLinkTest');
  115. $suite->addTestSuite('Zend_View_Helper_HeadMetaTest');
  116. $suite->addTestSuite('Zend_View_Helper_HeadScriptTest');
  117. $suite->addTestSuite('Zend_View_Helper_HeadStyleTest');
  118. $suite->addTestSuite('Zend_View_Helper_HeadTitleTest');
  119. $suite->addTestSuite('Zend_View_Helper_HtmlFlashTest');
  120. $suite->addTestSuite('Zend_View_Helper_HtmlListTest');
  121. $suite->addTestSuite('Zend_View_Helper_HtmlObjectTest');
  122. $suite->addTestSuite('Zend_View_Helper_HtmlPageTest');
  123. $suite->addTestSuite('Zend_View_Helper_HtmlQuicktimeTest');
  124. $suite->addTestSuite('Zend_View_Helper_InlineScriptTest');
  125. $suite->addTestSuite('Zend_View_Helper_JsonTest');
  126. $suite->addTestSuite('Zend_View_Helper_LayoutTest');
  127. $suite->addTest(Zend_View_Helper_Navigation_AllTests::suite());
  128. $suite->addTestSuite('Zend_View_Helper_PaginationControlTest');
  129. $suite->addTestSuite('Zend_View_Helper_PartialTest');
  130. $suite->addTestSuite('Zend_View_Helper_PartialLoopTest');
  131. $suite->addTestSuite('Zend_View_Helper_PlaceholderTest');
  132. $suite->addTestSuite('Zend_View_Helper_Placeholder_ContainerTest');
  133. $suite->addTestSuite('Zend_View_Helper_Placeholder_RegistryTest');
  134. $suite->addTestSuite('Zend_View_Helper_Placeholder_StandaloneContainerTest');
  135. $suite->addTestSuite('Zend_View_Helper_ServerUrlTest');
  136. $suite->addTestSuite('Zend_View_Helper_TranslateTest');
  137. $suite->addTestSuite('Zend_View_Helper_UrlTest');
  138. $suite->addTestSuite('Zend_View_Helper_UserAgentTest');
  139. return $suite;
  140. }
  141. }
  142. if (PHPUnit_MAIN_METHOD == 'Zend_View_Helper_AllTests::main') {
  143. Zend_View_Helper_AllTests::main();
  144. }