public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Test_PHPUnit');
     $suite->addTestSuite('Zend_Test_PHPUnit_ControllerTestCaseTest');
     $suite->addTest(Zend_Test_PHPUnit_Db_AllTests::suite());
     $suite->addTest(Zend_Test_PHPUnit_Constraint_AllTests::suite());
     return $suite;
 }
Exemplo n.º 2
0
 * @version    $Id: AllTests.php 23775 2011-03-01 17:25:24Z ralph $
 */
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Zend_Test_PHPUnit_Constraint_AllTests::main');
}
require_once 'Zend/Test/PHPUnit/Constraint/DomQueryTest.php';
/**
 * @category   Zend
 * @package    Zend_Test
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @group      Zend_Test
 * @group      Zend_Test_PHPUnit
 */
class Zend_Test_PHPUnit_Constraint_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Test_PHPUnit_Constraint');
        $suite->addTestSuite('Zend_Test_PHPUnit_Constraint_DomQueryTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Test_PHPUnit_Constraint_AllTests::main') {
    Zend_Test_PHPUnit_Constraint_AllTests::main();
}