0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-08 23:08:42 +00:00
htmlpurifier/tests/HTMLPurifier
Edward Z. Yang 7a8edc88f9 [2.0.1] Implement error collection for RemoveForeignElements.
- Register Generator context variable.
- Implement special substitutions for error collector.
- Also sort by order the errors came in.
- Fix line number determination bug in Lexer::create().
- Remove vestigial variables.
- Force all tag transforms to use copy(), implement serialize, unserialize algorithm for copy() in tokens.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1238 48356398-32a2-884e-a903-53898d9a118a
2007-06-26 02:49:21 +00:00
..
AttrDef [1.7.0] Complete Legacy element and attribute native support. 2007-05-29 16:51:32 +00:00
AttrTransform [1.7.0] Add native support for required elements 2007-06-20 21:39:28 +00:00
ChildDef [2.0.1] Normalize newlines to \n for internal processing. 2007-06-25 19:18:55 +00:00
DefinitionCache [2.0.1] DefinitionCache related bug-fixes 2007-06-23 14:05:09 +00:00
HTMLModule [2.0.1] Improve special case handling for <script> 2007-06-21 14:44:26 +00:00
Injector [2.0.1] 2007-06-24 22:22:00 +00:00
Lexer [2.0.1] Implement error collection for RemoveForeignElements. 2007-06-26 02:49:21 +00:00
SimpleTest Refactor index.php test runner, it was getting too big. 2007-01-19 23:26:15 +00:00
Strategy [2.0.1] Implement error collection for RemoveForeignElements. 2007-06-26 02:49:21 +00:00
AttrCollectionsTest.php [1.7.0] Add native support for required elements 2007-06-20 21:39:28 +00:00
AttrDefHarness.php [1.2.0] 2006-10-21 18:18:36 +00:00
AttrDefTest.php [1.7.0] New compact syntax for AttrDef objects that can be used to instantiate new objects via make() 2007-05-23 00:39:07 +00:00
AttrTransformHarness.php [1.2.0] Migrate AttrTransform tests to use the Harness supertype. 2006-10-22 03:38:32 +00:00
AttrTransformTest.php [1.6.1] Refactor AttrTransform to reduce duplication. 2007-05-05 02:25:55 +00:00
AttrTypesTest.php [1.7.0] New compact syntax for AttrDef objects that can be used to instantiate new objects via make() 2007-05-23 00:39:07 +00:00
ChildDefHarness.php [1.3.0] Refactored ChildDef classes into their own files 2006-11-22 18:55:15 +00:00
ConfigSchemaTest.php - Modify hash format to be more intuitive 2007-05-28 03:55:36 +00:00
ConfigTest-create.ini [1.4.0] Config object can now be instantiated from ini files. Also updated TODO. 2007-01-21 14:29:46 +00:00
ConfigTest-finalize.ini [1.7.0] Configuration object now finalizes itself after first read operation 2007-05-20 18:06:51 +00:00
ConfigTest-loadIni.ini [1.4.0] Config object can now be instantiated from ini files. Also updated TODO. 2007-01-21 14:29:46 +00:00
ConfigTest.php [2.0.1] 2007-06-25 18:38:39 +00:00
ContextTest.php Make context errors more friendly; factor out disabled; fix broken test cases; update TODO. 2007-06-24 04:22:28 +00:00
DefinitionCacheFactoryTest.php [1.7.0] Add DefinitionCache decorators, implement Memory decorator 2007-05-29 20:21:33 +00:00
DefinitionCacheHarness.php [1.7.0] Change ->Revision member variable to a legit configuration directive. Start writing tutorial for customization. 2007-06-20 02:43:43 +00:00
DefinitionCacheTest.php [2.0.1] DefinitionCache related bug-fixes 2007-06-23 14:05:09 +00:00
DefinitionTest.php Add missing parent class Definition. 2007-05-24 22:08:29 +00:00
DoctypeRegistryTest.php [1.7.0] Eliminated modes in favor for special-case "Tidy" modules 2007-05-16 03:00:18 +00:00
ElementDefTest.php [2.0.1] Scrap auto_close in favor of ChildDef->elements heuristic. 2007-06-23 20:52:57 +00:00
EncoderTest.php [1.7.0] Configuration object now finalizes itself after first read operation 2007-05-20 18:06:51 +00:00
EntityLookupTest.php Implement EntityLookup and put in the Lexer. Some behavior was migrated, since it looks like it will have to be used in all Lexers, not just DirectLex (which is the only one that uses it). 2006-07-23 21:07:30 +00:00
EntityParserTest.php [1.7.0] HTML Purifier now works with PHP 4.3.2. Yay! 2007-05-27 14:27:54 +00:00
ErrorCollectorTest.php [2.0.1] Implement error collection for RemoveForeignElements. 2007-06-26 02:49:21 +00:00
ErrorsHarness.php [2.0.1] Implement error collection for RemoveForeignElements. 2007-06-26 02:49:21 +00:00
GeneratorTest.php [2.0.1] Normalize newlines to \n for internal processing. 2007-06-25 19:18:55 +00:00
Harness.php Factor out DirectLex error testing to its own class. 2007-06-25 01:56:00 +00:00
HTMLDefinitionTest.php [1.7.0] Implement addElement: the advanced API is complete! 2007-06-19 01:55:31 +00:00
HTMLModuleHarness.php [1.7.0] Remove HTMLModule tests. They were a bad idea. 2007-05-21 00:24:32 +00:00
HTMLModuleManagerTest.php [2.0.1] 2007-06-25 18:38:39 +00:00
HTMLModuleTest.php [1.7.0] Fix bug in HTMLPurifier_Harness that causes certain aspects of $input to change after parsing 2007-05-13 03:42:09 +00:00
IDAccumulatorTest.php Add AttrDef_Id, as well as amend the accumulator by adding a load. 2006-07-30 16:35:05 +00:00
InjectorHarness.php Genericize Injector loading code, create new AutoFormatParam namespace, move out unit tests. 2007-06-24 21:35:34 +00:00
LanguageFactoryTest.php [2.0.1] Convert test language messages to use new format. 2007-06-25 01:11:56 +00:00
LanguageTest.php [2.0.1] Convert test language messages to use new format. 2007-06-25 01:11:56 +00:00
LexerTest.php [2.0.1] Improve special case handling for <script> 2007-06-21 14:44:26 +00:00
PercentEncoderTest.php [1.6.1] Unit tests now use exclusively assertIdentical 2007-05-05 20:17:04 +00:00
StrategyHarness.php [1.2.0] 2006-10-01 21:55:13 +00:00
TagTransformTest.php [1.7.0] Implement u, s, and strike tag transforms 2007-05-20 21:22:54 +00:00
TokenFactoryTest.php [1.6.1] Unit tests now use exclusively assertIdentical 2007-05-05 20:17:04 +00:00
TokenTest.php [1.6.1] Unit tests now use exclusively assertIdentical 2007-05-05 20:17:04 +00:00
URISchemeRegistryTest.php [1.7.0] Configuration object now finalizes itself after first read operation 2007-05-20 18:06:51 +00:00
URISchemeTest.php [1.2.0] Add context parameter to URIScheme and URISchemeRegistry classes. 2006-10-27 01:20:10 +00:00