Example #1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Tag_Cloud');
     $suite->addTestSuite('Zend_Tag_Cloud_CloudTest');
     $suite->addTest(Zend_Tag_Cloud_Decorator_AllTests::suite());
     return $suite;
 }
Example #2
0
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Zend_Tag_Cloud_Decorator_AllTests::main');
}
require_once 'Zend/Tag/Cloud/Decorator/HtmlCloudTest.php';
require_once 'Zend/Tag/Cloud/Decorator/HtmlTagTest.php';
/**
 * @category   Zend
 * @package    Zend_Tag
 * @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_Tag
 * @group      Zend_Tag_Cloud
 */
class Zend_Tag_Cloud_Decorator_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Tag_Cloud_Decorator');
        $suite->addTestSuite('Zend_Tag_Cloud_Decorator_HtmlCloudTest');
        $suite->addTestSuite('Zend_Tag_Cloud_Decorator_HtmlTagTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Tag_Cloud_Decorator_AllTests::main') {
    Zend_Tag_Cloud_Decorator_AllTests::main();
}