芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp80/includes/test/Net_Wifi/tests/AllTests.php
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version SVN: $Id$ * @link http://pear.php.net/package/Net_Wifi */ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Net_Wifi_AllTests::main'); } require_once 'Net_WifiTest.php'; /** * AllTests for the PEAR-wide test suite. * "pear run-tests -u" also uses it. * * @category Networking * @package Net_Wifi * @subpackage Unittests * @author Christian Weiske
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @link http://pear.php.net/package/Net_Wifi */ class Net_Wifi_AllTests { /** * Helper function to automatically run the suite with php. * * @return void */ public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } /** * Setup the Net_Wifi unit test suite and return it. * * @return PHPUnit_Framework_TestSuite Test suite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Net_Wifi Tests'); /** Add testsuites, if there is. */ $suite->addTestSuite('Net_WifiTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Net_Wifi_AllTests::main') { Net_Wifi_AllTests::main(); } ?>