<?php

if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'phpDocumentorSetupTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
/* You must add each method-level test suite file here */
require_once 'Documentation/tests/phpDocumentorSetupCleanConverterNamePieceTests.php';
require_once 'Documentation/tests/phpDocumentorSetupDecideOnOrOffTests.php';
class Documentation_tests_phpDocumentorSetupTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('phpDocumentorSetup Unit Test Suites');
        /* You must add each method-level test suite name here */
        $suite->addTestSuite('Documentation_tests_phpDocumentorSetupCleanConverterNamePieceTests');
        $suite->addTestSuite('Documentation_tests_phpDocumentorSetupDecideOnOrOffTests');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'phpDocumentorSetupTests::main') {
    Documentation_tests_phpDocumentorSetupTests::main();
}
Ejemplo n.º 2
0
 /**
  * Adds all class test suites into the master suite
  *
  * @return PHPUnit_Framework_TestSuite a master test suite
  *                                     containing all class test suites
  * @uses PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PhpDocumentor Full Suite of Unit Tests');
     /*
      * You must add each additional class-level test suite name here
      */
     $suite->addTest(Documentation_tests_phpDocumentorSetupTests::suite());
     $suite->addTest(Documentation_tests_phpDocumentorTParserTests::suite());
     $suite->addTest(Documentation_tests_IntermediateParserTests::suite());
     $suite->addTest(Documentation_tests_HighlightParserTests::suite());
     $suite->addTest(Documentation_tests_ParserClassTests::suite());
     $suite->addTest(Documentation_tests_ParserPageTests::suite());
     return $suite;
 }