addTestFile('HTMLPurifier/LexerTest.php'); $test->addTestFile('HTMLPurifier/Lexer/DirectLexTest.php'); //$test->addTestFile('TokenTest.php'); $test->addTestFile('HTMLPurifier/ChildDefTest.php'); $test->addTestFile('HTMLPurifier/GeneratorTest.php'); $test->addTestFile('HTMLPurifier/EntityLookupTest.php'); $test->addTestFile('HTMLPurifier/Strategy/RemoveForeignElementsTest.php'); $test->addTestFile('HTMLPurifier/Strategy/MakeWellFormedTest.php'); $test->addTestFile('HTMLPurifier/Strategy/FixNestingTest.php'); $test->addTestFile('HTMLPurifier/Strategy/CompositeTest.php'); $test->addTestFile('HTMLPurifier/Strategy/CoreTest.php'); $test->addTestFile('HTMLPurifier/Strategy/ValidateAttributesTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/EnumTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/IDTest.php'); $test->addTestFile('HTMLPurifier/IDAccumulatorTest.php'); if (SimpleReporter::inCli()) $reporter = new TextReporter(); else $reporter = new HTMLReporter(); $test->run($reporter); ?>