public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Config'); $suite->addTest(Zend_Config_Writer_AllTests::suite()); $suite->addTestSuite('Zend_Config_IniTest'); $suite->addTestSuite('Zend_Config_XmlTest'); return $suite; }
require_once 'Zend/Config/Writer/JsonTest.php'; require_once 'Zend/Config/Writer/XmlTest.php'; require_once 'Zend/Config/Writer/YamlTest.php'; /** * @category Zend * @package Zend_Config * @subpackage UnitTests * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @group Zend_Config */ class Zend_Config_Writer_AllTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Config_Writer'); $suite->addTestSuite('Zend_Config_Writer_ArrayTest'); $suite->addTestSuite('Zend_Config_Writer_IniTest'); $suite->addTestSuite('Zend_Config_Writer_JsonTest'); $suite->addTestSuite('Zend_Config_Writer_XmlTest'); $suite->addTestSuite('Zend_Config_Writer_YamlTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Zend_Config_Writer_AllTests::main') { Zend_Config_Writer_AllTests::main(); }