D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
lampp
/
lib
/
php
/
test
/
HTML_Template_PHPLIB
/
tests
/
Filename :
AllTests.php
back
Copy
<?php if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'HTML_Template_PHPLIB_AllTests::main'); } require_once dirname(__FILE__) . '/helper.inc'; require_once 'HTML_Template_PHPLIBTest.php'; require_once 'HTML_Template_PHPLIB_GeneratorTest.php'; require_once 'HTML_Template_PHPLIB_HelperTest.php'; require_once 'HTML_Template_PHPLIB_ValidatorTest.php'; class HTML_Template_PHPLIB_AllTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('HTML_Template_PHPLIB Tests'); /** Add testsuites, if there is. */ $suite->addTestSuite('HTML_Template_PHPLIBTest'); $suite->addTestSuite('HTML_Template_PHPLIB_HelperTest'); $suite->addTestSuite('HTML_Template_PHPLIB_ValidatorTest'); $suite->addTestSuite('HTML_Template_PHPLIB_GeneratorTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'HTML_Template_PHPLIB_AllTests::main') { HTML_Template_PHPLIB_AllTests::main(); } ?>