Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
if (!defined('PHPUnit_MAIN_METHOD')) {
3
    define('PHPUnit_MAIN_METHOD', 'phpDocumentorSetupTests::main');
4
}
5
 
6
require_once 'PHPUnit/Framework.php';
7
require_once 'PHPUnit/TextUI/TestRunner.php';
8
 
9
/* You must add each method-level test suite file here */
10
require_once 'phpDocumentorSetupCleanConverterNamePieceTests.php';
11
require_once 'phpDocumentorSetupDecideOnOrOffTests.php';
12
 
13
class tests_phpDocumentorSetupTests
14
{
15
    public static function main()
16
    {
17
        PHPUnit_TextUI_TestRunner::run(self::suite());
18
    }
19
 
20
    public static function suite()
21
    {
22
        $suite = new PHPUnit_Framework_TestSuite('phpDocumentorSetup Unit Test Suites');
23
        /* You must add each method-level test suite name here */
24
        $suite->addTestSuite('tests_phpDocumentorSetupCleanConverterNamePieceTests');
25
        $suite->addTestSuite('tests_phpDocumentorSetupDecideOnOrOffTests');
26
        return $suite;
27
    }
28
}
29
 
30
if (PHPUnit_MAIN_METHOD == 'phpDocumentorSetupTests::main') {
31
    tests_phpDocumentorSetupTests::main();
32
}
33
?>