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/AttrDefTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/EnumTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/IDTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/ClassTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/TextTest.php'); $test->addTestFile('HTMLPurifier/AttrDef/LangTest.php'); $test->addTestFile('HTMLPurifier/IDAccumulatorTest.php'); $test->addTestFile('HTMLPurifier/TagTransformTest.php'); $test->addTestFile('HTMLPurifier/AttrTransform/LangTest.php'); if (SimpleReporter::inCli()) $reporter = new TextReporter(); else $reporter = new HTMLReporter(); $test->run($reporter); ?>