AllTests.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_Service
  17. * @subpackage UnitTests
  18. * @copyright Copyright (c) 2005-2015 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_Service_AllTests::main');
  24. }
  25. require_once 'Zend/Service/AkismetTest.php';
  26. require_once 'Zend/Service/Amazon/AllTests.php';
  27. require_once 'Zend/Service/Audioscrobbler/AllTests.php';
  28. require_once 'Zend/Service/Delicious/AllTests.php';
  29. require_once 'Zend/Service/DeveloperGarden/AllTests.php';
  30. require_once 'Zend/Service/Ebay/AllTests.php';
  31. require_once 'Zend/Service/Flickr/AllTests.php';
  32. require_once 'Zend/Service/LiveDocx/AllTests.php';
  33. require_once 'Zend/Service/ReCaptcha/AllTests.php';
  34. require_once 'Zend/Service/ShortUrl/AllTests.php';
  35. require_once 'Zend/Service/SlideShareTest.php';
  36. require_once 'Zend/Service/StrikeIron/AllTests.php';
  37. require_once 'Zend/Service/Twitter/AllTests.php';
  38. require_once 'Zend/Service/WindowsAzure/AllTests.php';
  39. require_once 'Zend/Service/Yahoo/AllTests.php';
  40. /**
  41. * @category Zend
  42. * @package Zend_Service
  43. * @subpackage UnitTests
  44. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  45. * @license http://framework.zend.com/license/new-bsd New BSD License
  46. * @group Zend_Service
  47. */
  48. class Zend_Service_AllTests
  49. {
  50. /**
  51. * Runs this test suite
  52. *
  53. * @return void
  54. */
  55. public static function main()
  56. {
  57. PHPUnit_TextUI_TestRunner::run(self::suite());
  58. }
  59. /**
  60. * Creates and returns this test suite
  61. *
  62. * @return PHPUnit_Framework_TestSuite
  63. */
  64. public static function suite()
  65. {
  66. $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service');
  67. $suite->addTestSuite('Zend_Service_AkismetTest');
  68. $suite->addTest(Zend_Service_Amazon_AllTests::suite());
  69. $suite->addTest(Zend_Service_Audioscrobbler_AllTests::suite());
  70. $suite->addTest(Zend_Service_Delicious_AllTests::suite());
  71. $suite->addTest(Zend_Service_DeveloperGarden_AllTests::suite());
  72. $suite->addTest(Zend_Service_Ebay_AllTests::suite());
  73. $suite->addTest(Zend_Service_Flickr_AllTests::suite());
  74. $suite->addTest(Zend_Service_LiveDocx_AllTests::suite());
  75. $suite->addTest(Zend_Service_ReCaptcha_AllTests::suite());
  76. $suite->addTest(Zend_Service_ShortUrl_AllTests::suite());
  77. $suite->addTestSuite('Zend_Service_SlideShareTest');
  78. $suite->addTest(Zend_Service_StrikeIron_AllTests::suite());
  79. $suite->addTest(Zend_Service_Twitter_AllTests::suite());
  80. $suite->addTest(Zend_Service_WindowsAzure_AllTests::suite());
  81. $suite->addTest(Zend_Service_Yahoo_AllTests::suite());
  82. return $suite;
  83. }
  84. }
  85. if (PHPUnit_MAIN_METHOD == 'Zend_Service_AllTests::main') {
  86. Zend_Service_AllTests::main();
  87. }