Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
if (!defined('PHPUnit_MAIN_METHOD')) {
4
    define('PHPUnit_MAIN_METHOD', 'HTML_Download_AllTests::main');
5
}
6
 
7
require_once 'PHPUnit/TextUI/TestRunner.php';
8
 
9
require_once 'HTML_DownloadTest.php';
10
 
11
class HTML_Download_AllTests
12
{
13
    public static function main()
14
    {
15
        PHPUnit_TextUI_TestRunner::run(self::suite());
16
    }
17
 
18
    public static function suite()
19
    {
20
        $suite = new PHPUnit_Framework_TestSuite('PEAR - HTML_Download');
21
 
22
        $suite->addTestSuite('HTML_DownloadTest');
23
 
24
        return $suite;
25
    }
26
}
27
 
28
if (PHPUnit_MAIN_METHOD == 'HTML_Download_AllTests::main') {
29
    HTML_Download_AllTests::main();
30
}