silverstripe-framework/pear/HTML/tests/AllTests.php
Jeremy Shipman 8055b4b291 Created pear directory which includes the PEAR HTML_BBCodeParser-1.2.2 and PEAR.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 04:12:40 +00:00

36 lines
722 B
PHP

<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'AllTests::main');
chdir(dirname(__FILE__) . '/../');
}
if (!defined('PHPUnit_INSIDE_OWN_TESTSUITE')) {
define('PHPUnit_INSIDE_OWN_TESTSUITE', TRUE);
}
require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'HTML_BBCodeParserTest.php';
class AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('HTML_BBCodeParserTest');
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
AllTests::main();
}
?>