Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/* vim: set expandtab tabstop=4 shiftwidth=4: */
3
 
4
/**
5
 * Unit test for Net_IMAP
6
 *
7
 * PHP version 5
8
 *
9
 * LICENSE:  GPL.
10
 *
11
 * @category    Net
12
 * @package     Net_IMAP
13
 * @author      Sebastian Ebling <hudeldudel@php.net>
14
 * @copyright   2006 Sebastian Ebling
15
 * @license     http://www.gnu.org/copyleft/gpl.html
16
 * @version     CVS: $Id: testAll.php,v 1.4 2007/01/11 14:27:29 hudeldudel Exp $
17
 * @link        http://pear.php.net/package/Net_IMAP/
18
 */
19
 
20
/**
21
 * We use PHPUnit3 for testing
22
 */
23
require_once 'PHPUnit/Framework/TestSuite.php';
24
require_once 'PHPUnit/TextUI/TestRunner.php';
25
 
26
 
27
/**
28
 * Include testcases
29
 */
30
require_once 'testIMAP.php';
31
// include more testcases here
32
 
33
/**
34
 * Run all tests
35
 * Run with "phpunit testAll" from comand line
36
 */
37
class testAll
38
{
39
    public static function main()
40
    {
41
        PHPUnit_TextUI_TestRunner::run(self::suite());
42
    }
43
 
44
    public static function suite()
45
    {
46
        $suite = new PHPUnit_Framework_TestSuite('Net_IMAP TestSuite');
47
        $suite->addTestSuite('testIMAP');
48
        // add more testcases here
49
        return $suite;
50
    }
51
}