コード例 #1
0
ファイル: AllTests.php プロジェクト: bhaumik25/zend-framework
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Dojo');
     $suite->addTestSuite('Zend_Dojo_DataTest');
     $suite->addTest(Zend_Dojo_View_AllTests::suite());
     return $suite;
 }
コード例 #2
0
ファイル: AllTests.php プロジェクト: lortnus/zf1
/**
 * Test helper
 */
require_once dirname(__FILE__) . '/../../../TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Zend_Dojo_View_AllTests::main');
}
require_once 'Zend/Dojo/View/Helper/AllTests.php';
/**
 * @category   Zend
 * @package    Zend_Dojo_View
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Dojo_View_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Dojo_View');
        $suite->addTest(Zend_Dojo_View_Helper_AllTests::suite());
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Dojo_View_AllTests::main') {
    Zend_Dojo_View_AllTests::main();
}