public static function suite() { $suite = new PHPUnit_Framework_TestSuite('HTML2PS CSS parsing test suite ("dirty" tests)'); $suite->addTestSuite(HTML2PS_CSSDefaultTests::suite()); $suite->addTestSuite(HTML2PS_CSSParseErrorTests::suite()); $suite->addTestSuite(HTML2PS_CSSParserTests::suite()); $suite->addTestSuite(HTML2PS_CSSLexerTests::suite()); $suite->addTestSuite(HTML2PS_CSSProcessTests::suite()); $suite->addTestSuite(HTML2PS_CSSStyleTests::suite()); return $suite; }
require_once 'test.parser.error.1.php'; require_once 'test.parser.error.2.php'; require_once 'test.parser.error.3.php'; require_once 'test.parser.error.4.php'; require_once 'test.parser.error.5.php'; require_once 'test.parser.error.6.php'; require_once 'test.parser.error.7.php'; require_once 'test.parser.error.8.php'; class HTML2PS_CSSParseErrorTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('HTML2PS CSS parsing test suite ("dirty" tests)'); $suite->addTestSuite('TestCSSParserError1'); $suite->addTestSuite('TestCSSParserError2'); $suite->addTestSuite('TestCSSParserError3'); $suite->addTestSuite('TestCSSParserError4'); $suite->addTestSuite('TestCSSParserError5'); $suite->addTestSuite('TestCSSParserError6'); $suite->addTestSuite('TestCSSParserError7'); $suite->addTestSuite('TestCSSParserError8'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'HTML2PS_CSSParseErrorTests::main') { HTML2PS_CSSParseErrorTests::main(); }