3 if (!defined('HTMLPurifierTest')) exit;
5 // define callable test files (sorted alphabetically)
7 // HTML Purifier main library
9 $test_files[] = 'HTMLPurifier/AttrCollectionsTest.php';
10 $test_files[] = 'HTMLPurifier/AttrDef/CSS/AlphaValueTest.php';
11 $test_files[] = 'HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php';
12 $test_files[] = 'HTMLPurifier/AttrDef/CSS/BackgroundTest.php';
13 $test_files[] = 'HTMLPurifier/AttrDef/CSS/BorderTest.php';
14 $test_files[] = 'HTMLPurifier/AttrDef/CSS/ColorTest.php';
15 $test_files[] = 'HTMLPurifier/AttrDef/CSS/CompositeTest.php';
16 $test_files[] = 'HTMLPurifier/AttrDef/CSS/FilterTest.php';
17 $test_files[] = 'HTMLPurifier/AttrDef/CSS/FontFamilyTest.php';
18 $test_files[] = 'HTMLPurifier/AttrDef/CSS/FontTest.php';
19 $test_files[] = 'HTMLPurifier/AttrDef/CSS/LengthTest.php';
20 $test_files[] = 'HTMLPurifier/AttrDef/CSS/ListStyleTest.php';
21 $test_files[] = 'HTMLPurifier/AttrDef/CSS/MultipleTest.php';
22 $test_files[] = 'HTMLPurifier/AttrDef/CSS/NumberTest.php';
23 $test_files[] = 'HTMLPurifier/AttrDef/CSS/PercentageTest.php';
24 $test_files[] = 'HTMLPurifier/AttrDef/CSS/TextDecorationTest.php';
25 $test_files[] = 'HTMLPurifier/AttrDef/CSS/URITest.php';
26 $test_files[] = 'HTMLPurifier/AttrDef/CSSTest.php';
27 $test_files[] = 'HTMLPurifier/AttrDef/EnumTest.php';
28 $test_files[] = 'HTMLPurifier/AttrDef/HTML/ColorTest.php';
29 $test_files[] = 'HTMLPurifier/AttrDef/HTML/IDTest.php';
30 $test_files[] = 'HTMLPurifier/AttrDef/HTML/LengthTest.php';
31 $test_files[] = 'HTMLPurifier/AttrDef/HTML/FrameTargetTest.php';
32 $test_files[] = 'HTMLPurifier/AttrDef/HTML/MultiLengthTest.php';
33 $test_files[] = 'HTMLPurifier/AttrDef/HTML/NmtokensTest.php';
34 $test_files[] = 'HTMLPurifier/AttrDef/HTML/PixelsTest.php';
35 $test_files[] = 'HTMLPurifier/AttrDef/HTML/LinkTypesTest.php';
36 $test_files[] = 'HTMLPurifier/AttrDef/IntegerTest.php';
37 $test_files[] = 'HTMLPurifier/AttrDef/LangTest.php';
38 $test_files[] = 'HTMLPurifier/AttrDef/TextTest.php';
39 $test_files[] = 'HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php';
40 $test_files[] = 'HTMLPurifier/AttrDef/URI/HostTest.php';
41 $test_files[] = 'HTMLPurifier/AttrDef/URI/IPv4Test.php';
42 $test_files[] = 'HTMLPurifier/AttrDef/URI/IPv6Test.php';
43 $test_files[] = 'HTMLPurifier/AttrDef/URITest.php';
44 $test_files[] = 'HTMLPurifier/AttrDefTest.php';
45 $test_files[] = 'HTMLPurifier/AttrTransformTest.php';
46 $test_files[] = 'HTMLPurifier/AttrTransform/BdoDirTest.php';
47 $test_files[] = 'HTMLPurifier/AttrTransform/BgColorTest.php';
48 $test_files[] = 'HTMLPurifier/AttrTransform/BoolToCSSTest.php';
49 $test_files[] = 'HTMLPurifier/AttrTransform/BorderTest.php';
50 $test_files[] = 'HTMLPurifier/AttrTransform/EnumToCSSTest.php';
51 $test_files[] = 'HTMLPurifier/AttrTransform/ImgRequiredTest.php';
52 $test_files[] = 'HTMLPurifier/AttrTransform/ImgSpaceTest.php';
53 $test_files[] = 'HTMLPurifier/AttrTransform/LangTest.php';
54 $test_files[] = 'HTMLPurifier/AttrTransform/LengthTest.php';
55 $test_files[] = 'HTMLPurifier/AttrTransform/NameTest.php';
56 $test_files[] = 'HTMLPurifier/AttrTypesTest.php';
57 $test_files[] = 'HTMLPurifier/AttrValidator_ErrorsTest.php';
58 $test_files[] = 'HTMLPurifier/ChildDef/ChameleonTest.php';
59 $test_files[] = 'HTMLPurifier/ChildDef/CustomTest.php';
60 $test_files[] = 'HTMLPurifier/ChildDef/OptionalTest.php';
61 $test_files[] = 'HTMLPurifier/ChildDef/RequiredTest.php';
62 $test_files[] = 'HTMLPurifier/ChildDef/StrictBlockquoteTest.php';
63 $test_files[] = 'HTMLPurifier/ChildDef/TableTest.php';
64 $test_files[] = 'HTMLPurifier/ConfigSchemaTest.php';
65 $test_files[] = 'HTMLPurifier/ConfigTest.php';
66 $test_files[] = 'HTMLPurifier/ContextTest.php';
67 $test_files[] = 'HTMLPurifier/DefinitionCacheFactoryTest.php';
68 $test_files[] = 'HTMLPurifier/DefinitionCacheTest.php';
69 $test_files[] = 'HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php';
70 $test_files[] = 'HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php';
71 $test_files[] = 'HTMLPurifier/DefinitionCache/DecoratorTest.php';
72 $test_files[] = 'HTMLPurifier/DefinitionCache/SerializerTest.php';
73 $test_files[] = 'HTMLPurifier/DefinitionTest.php';
74 $test_files[] = 'HTMLPurifier/DoctypeRegistryTest.php';
75 $test_files[] = 'HTMLPurifier/ElementDefTest.php';
76 $test_files[] = 'HTMLPurifier/ErrorCollectorTest.php';
77 $test_files[] = 'HTMLPurifier/EncoderTest.php';
78 $test_files[] = 'HTMLPurifier/EntityLookupTest.php';
79 $test_files[] = 'HTMLPurifier/EntityParserTest.php';
80 $test_files[] = 'HTMLPurifier/Filter/ExtractStyleBlocksTest.php';
81 $test_files[] = 'HTMLPurifier/GeneratorTest.php';
82 $test_files[] = 'HTMLPurifier/HTMLDefinitionTest.php';
83 $test_files[] = 'HTMLPurifier/HTMLModuleManagerTest.php';
84 $test_files[] = 'HTMLPurifier/HTMLModuleTest.php';
85 $test_files[] = 'HTMLPurifier/HTMLModule/ObjectTest.php';
86 $test_files[] = 'HTMLPurifier/HTMLModule/RubyTest.php';
87 $test_files[] = 'HTMLPurifier/HTMLModule/ScriptingTest.php';
88 $test_files[] = 'HTMLPurifier/HTMLModule/TidyTest.php';
89 $test_files[] = 'HTMLPurifier/IDAccumulatorTest.php';
90 $test_files[] = 'HTMLPurifier/Injector/AutoParagraphTest.php';
91 $test_files[] = 'HTMLPurifier/Injector/LinkifyTest.php';
92 $test_files[] = 'HTMLPurifier/Injector/PurifierLinkifyTest.php';
93 $test_files[] = 'HTMLPurifier/LanguageFactoryTest.php';
94 $test_files[] = 'HTMLPurifier/LanguageTest.php';
95 $test_files[] = 'HTMLPurifier/Lexer/DirectLexTest.php';
96 $test_files[] = 'HTMLPurifier/Lexer/DirectLex_ErrorsTest.php';
97 $test_files[] = 'HTMLPurifier/LexerTest.php';
98 $test_files[] = 'HTMLPurifier/PercentEncoderTest.php';
99 $test_files[] = 'HTMLPurifier/Strategy/CompositeTest.php';
100 $test_files[] = 'HTMLPurifier/Strategy/CoreTest.php';
101 $test_files[] = 'HTMLPurifier/Strategy/FixNestingTest.php';
102 $test_files[] = 'HTMLPurifier/Strategy/FixNesting_ErrorsTest.php';
103 $test_files[] = 'HTMLPurifier/Strategy/MakeWellFormedTest.php';
104 $test_files[] = 'HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php';
105 $test_files[] = 'HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php';
106 $test_files[] = 'HTMLPurifier/Strategy/RemoveForeignElementsTest.php';
107 $test_files[] = 'HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php';
108 $test_files[] = 'HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php';
109 $test_files[] = 'HTMLPurifier/Strategy/ValidateAttributesTest.php';
110 $test_files[] = 'HTMLPurifier/Strategy/ValidateAttributes_IDTest.php';
111 $test_files[] = 'HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php';
112 $test_files[] = 'HTMLPurifier/TagTransformTest.php';
113 $test_files[] = 'HTMLPurifier/TokenFactoryTest.php';
114 $test_files[] = 'HTMLPurifier/TokenTest.php';
115 $test_files[] = 'HTMLPurifier/URIDefinitionTest.php';
116 $test_files[] = 'HTMLPurifier/URIFilter/DisableExternalTest.php';
117 $test_files[] = 'HTMLPurifier/URIFilter/DisableExternalResourcesTest.php';
118 $test_files[] = 'HTMLPurifier/URIFilter/HostBlacklistTest.php';
119 $test_files[] = 'HTMLPurifier/URIFilter/MakeAbsoluteTest.php';
120 $test_files[] = 'HTMLPurifier/URIParserTest.php';
121 $test_files[] = 'HTMLPurifier/URISchemeRegistryTest.php';
122 $test_files[] = 'HTMLPurifier/URISchemeTest.php';
123 $test_files[] = 'HTMLPurifier/URITest.php';
124 $test_files[] = 'HTMLPurifierTest.php';
126 // ConfigDoc auxiliary library