AllTests.php 775 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. if (!defined('PHPUnit_MAIN_METHOD')) {
  3. define('PHPUnit_MAIN_METHOD', 'Zend_Pdf_Element_String_AllTests::main');
  4. }
  5. require_once 'PHPUnit/Framework/TestSuite.php';
  6. require_once 'PHPUnit/TextUI/TestRunner.php';
  7. require_once 'Zend/Pdf/Element/String/BinaryTest.php';
  8. class Zend_Pdf_Element_String_AllTests
  9. {
  10. public static function main()
  11. {
  12. PHPUnit_TextUI_TestRunner::run(self::suite());
  13. }
  14. public static function suite()
  15. {
  16. $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Pdf_Element_String');
  17. $suite->addTestSuite('Zend_Pdf_Element_String_BinaryTest');
  18. return $suite;
  19. }
  20. }
  21. if (PHPUnit_MAIN_METHOD == 'Zend_Pdf_Element_String_AllTests::main') {
  22. Zend_Pdf_Element_String_AllTests::main();
  23. }