Example #1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('ECCUBE');
     $suite->addTest(Page_AllTests::suite());
     $suite->addTest(DB_AllTests::suite());
     $suite->addTest(Helper_AllTests::suite());
     $suite->addTest(Util_AllTests::suite());
     return $suite;
 }
Example #2
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHPUnit');
     $suite->addTest(Framework_AllTests::suite());
     $suite->addTest(Extensions_AllTests::suite());
     $suite->addTest(Runner_AllTests::suite());
     $suite->addTest(Util_AllTests::suite());
     return $suite;
 }
Example #3
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHPUnit');
     $suite->addTest(Framework_AllTests::suite());
     $suite->addTest(Extensions_AllTests::suite());
     $suite->addTest(Runner_AllTests::suite());
     $suite->addTest(Util_AllTests::suite());
     $suite->addTest(new PHPUnit_Extensions_PhptTestSuite(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'TextUI'));
     return $suite;
 }
Example #4
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PRADO PHP Framework');
     $suite->addTest(Xml_AllTests::suite());
     $suite->addTest(IO_AllTests::suite());
     $suite->addTest(Collections_AllTests::suite());
     $suite->addTest(I18N_core_AllTests::suite());
     $suite->addTest(Web_AllTests::suite());
     $suite->addTest(Web_UI_WebControls_AllTests::suite());
     $suite->addTest(Web_UI_ActiveControls_AllTests::suite());
     $suite->addTest(Security_AllTests::suite());
     $suite->addTest(Caching_AllTests::suite());
     $suite->addTest(Util_AllTests::suite());
     $suite->addTest(Data_DataGateway_AllTests::suite());
     $suite->addTest(Data_SqlMap_AllTests::suite());
     $suite->addTestSuite('TComponentTest');
     return $suite;
 }
Example #5
0
require_once 'Util/TestDox/AllTests.php';
require_once 'Util/TimerTest.php';
/**
 *
 *
 * @category   Testing
 * @package    PHPUnit
 * @author     Sebastian Bergmann <*****@*****.**>
 * @copyright  2002-2007 Sebastian Bergmann <*****@*****.**>
 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
 * @version    Release: 3.1.3
 * @link       http://www.phpunit.de/
 * @since      Class available since Release 2.0.0
 */
class Util_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('PHPUnit_Util');
        $suite->addTest(Util_TestDox_AllTests::suite());
        $suite->addTestSuite('Util_TimerTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Util_AllTests::main') {
    Util_AllTests::main();
}