AllTests.php 3.2 KB

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