コード例 #1
0
ファイル: AllTests.php プロジェクト: lortnus/zf1
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Dojo');
     $suite->addTestSuite('Zend_Dojo_DojoTest');
     $suite->addTestSuite('Zend_Dojo_DataTest');
     $suite->addTest(Zend_Dojo_Form_AllTests::suite());
     $suite->addTest(Zend_Dojo_View_AllTests::suite());
     return $suite;
 }
コード例 #2
0
ファイル: AllTests.php プロジェクト: jsnshrmn/Suma
require_once 'Zend/Dojo/Form/Element/AllTests.php';
require_once 'Zend/Dojo/Form/FormTest.php';
require_once 'Zend/Dojo/Form/SubFormTest.php';
/**
 * @category   Zend
 * @package    Zend_Dojo
 * @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
 * @group      Zend_Dojo
 * @group      Zend_Dojo_Form
 */
class Zend_Dojo_Form_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Dojo_Form');
        $suite->addTest(Zend_Dojo_Form_Decorator_AllTests::suite());
        $suite->addTest(Zend_Dojo_Form_Element_AllTests::suite());
        $suite->addTestSuite('Zend_Dojo_Form_FormTest');
        $suite->addTestSuite('Zend_Dojo_Form_SubFormTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Dojo_Form_AllTests::main') {
    Zend_Dojo_Form_AllTests::main();
}