[ZF-8967, ZF-8968] Zend_Validate:
[zend.git] / tests / resources / AllTests.php
blob65099be8a2cf7980d795f5493f12b4521d347237
1 <?php
2 /**
3 * Zend Framework
5 * LICENSE
7 * This source file is subject to the new BSD license that is bundled
8 * with this package in the file LICENSE.txt.
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
15 * @category Zend
16 * @package Zend
17 * @subpackage UnitTests
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id$
23 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php';
25 if (!defined('PHPUnit_MAIN_METHOD')) {
26 define('PHPUnit_MAIN_METHOD', 'resources_AllTests::main');
29 require_once dirname(__FILE__) . '/languages/AllTests.php';
31 /**
32 * @category Zend
33 * @package Zend_recources
34 * @subpackage UnitTests
35 * @group Zend
36 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
37 * @license http://framework.zend.com/license/new-bsd New BSD License
39 class resources_AllTests
41 public static function main()
43 PHPUnit_TextUI_TestRunner::run(self::suite());
46 /**
47 * Regular suite
49 * All tests except those that require output buffering.
51 * @return PHPUnit_Framework_TestSuite
53 public static function suite()
55 $suite = new PHPUnit_Framework_TestSuite('Zend Framework - resources');
57 $suite->addTest(resources_languages_AllTests::suite());
59 return $suite;
63 if (PHPUnit_MAIN_METHOD == 'resources_AllTests::main') {
64 resources_AllTests::main();