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