AllTests.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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_Ebay
  17. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  18. * @license http://framework.zend.com/license/new-bsd New BSD License
  19. * @version $Id: AllTests.php 22813 2010-08-08 14:34:42Z ramon $
  20. */
  21. if (!defined('PHPUnit_MAIN_METHOD')) {
  22. define('PHPUnit_MAIN_METHOD', 'Zend_Service_Ebay_AllTests::main');
  23. }
  24. /**
  25. * @see Zend_Service_Ebay_AllTests
  26. */
  27. require_once 'Zend/Service/Ebay/Finding/AllTests.php';
  28. /**
  29. * @see Zend_Service_Ebay_AbstractTest
  30. */
  31. require_once 'Zend/Service/Ebay/AbstractTest.php';
  32. /**
  33. * @category Zend
  34. * @package Zend_Service_Ebay
  35. * @subpackage UnitTests
  36. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  37. * @license http://framework.zend.com/license/new-bsd New BSD License
  38. * @group Zend_Service
  39. */
  40. class Zend_Service_Ebay_AllTests
  41. {
  42. public static function main()
  43. {
  44. PHPUnit_TextUI_TestRunner::run(self::suite());
  45. }
  46. public static function suite()
  47. {
  48. $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service_Ebay');
  49. $suite->addTestSuite('Zend_Service_Ebay_AbstractTest');
  50. $suite->addTest(Zend_Service_Ebay_Finding_AllTests::suite());
  51. return $suite;
  52. }
  53. }
  54. if (PHPUnit_MAIN_METHOD == 'Zend_Service_Ebay_AllTests::main') {
  55. Zend_Service_AllTests::main();
  56. }