AllTests.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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_XmlRpc
  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_XmlRpc_AllTests::main');
  24. }
  25. require_once 'Zend/XmlRpc/BigIntegerValueTest.php';
  26. require_once 'Zend/XmlRpc/ValueTest.php';
  27. require_once 'Zend/XmlRpc/RequestTest.php';
  28. require_once 'Zend/XmlRpc/Request/HttpTest.php';
  29. require_once 'Zend/XmlRpc/ResponseTest.php';
  30. require_once 'Zend/XmlRpc/FaultTest.php';
  31. require_once 'Zend/XmlRpc/ClientTest.php';
  32. require_once 'Zend/XmlRpc/ServerTest.php';
  33. require_once 'Zend/XmlRpc/GeneratorTest.php';
  34. require_once 'Zend/XmlRpc/Server/CacheTest.php';
  35. require_once 'Zend/XmlRpc/Server/FaultTest.php';
  36. /**
  37. * @category Zend
  38. * @package Zend_XmlRpc
  39. * @subpackage UnitTests
  40. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  41. * @license http://framework.zend.com/license/new-bsd New BSD License
  42. * @group Zend_XmlRpc
  43. */
  44. class Zend_XmlRpc_AllTests
  45. {
  46. public static function main()
  47. {
  48. PHPUnit_TextUI_TestRunner::run(self::suite());
  49. }
  50. public static function suite()
  51. {
  52. $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_XmlRpc');
  53. $suite->addTestSuite('Zend_XmlRpc_BigIntegerValueTest');
  54. $suite->addTestSuite('Zend_XmlRpc_ValueTest');
  55. $suite->addTestSuite('Zend_XmlRpc_RequestTest');
  56. $suite->addTestSuite('Zend_XmlRpc_Request_HttpTest');
  57. $suite->addTestSuite('Zend_XmlRpc_ResponseTest');
  58. $suite->addTestSuite('Zend_XmlRpc_FaultTest');
  59. $suite->addTestSuite('Zend_XmlRpc_ClientTest');
  60. $suite->addTestSuite('Zend_XmlRpc_ServerTest');
  61. $suite->addTestSuite('Zend_XmlRpc_GeneratorTest');
  62. $suite->addTestSuite('Zend_XmlRpc_Server_CacheTest');
  63. $suite->addTestSuite('Zend_XmlRpc_Server_FaultTest');
  64. return $suite;
  65. }
  66. }
  67. if (PHPUnit_MAIN_METHOD == 'Zend_XmlRpc_AllTests::main') {
  68. Zend_XmlRpc_AllTests::main();
  69. }