/** * Test helper */ require_once dirname(__FILE__) . '/../../../TestHelper.php'; if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'ZendX_Console_Process_AllTests::main'); } require_once 'ZendX/Console/Process/UnixTest.php'; /** * @category Zend * @package ZendX_Console * @subpackage UnitTests * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class ZendX_Console_Process_AllTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - ZendX_Console_Process'); $suite->addTestSuite('ZendX_Console_Process_UnixTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'ZendX_Console_Process_AllTests::main') { ZendX_Console_Process_AllTests::main(); }
public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - ZendX_Console'); $suite->addTest(ZendX_Console_Process_AllTests::suite()); return $suite; }