0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 18:55:19 +00:00
htmlpurifier/tests/HTMLPurifier
Edward Z. Yang 6a95d91a1a [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities
- Fix oversight in AutoParagraph dealing with armor.
- Order errors with no line number last
- Language object now needs $config and $context objects to do parameterized objects
- Auto-close notice added
- Token constructors accept line numbers

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1245 48356398-32a2-884e-a903-53898d9a118a
2007-06-26 19:33:37 +00:00
..
AttrDef Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +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 Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +00:00
HTMLModule [2.0.1] Fix DirectLex's incomprehension of un-armored script contents as CDATA using custom preg_replace_callback 2007-06-26 16:08:42 +00:00
Injector [2.0.1] Implement error messages for MakeWellFormed. Armor AutoParagraph generated p start tags from these tag closing errors. Fix another auto-paragraphing edge-case. Create common Strategy error harness. 2007-06-26 15:07:07 +00:00
Lexer [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +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] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +00:00
AttrCollectionsTest.php Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +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 Remove magic quotes test: it fails in systems that have magic quotes disabled. 2007-06-26 03:34:29 +00:00
ContextTest.php Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +00:00
DefinitionCacheFactoryTest.php [1.7.0] Add DefinitionCache decorators, implement Memory decorator 2007-05-29 20:21:33 +00:00
DefinitionCacheHarness.php Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +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
ErrorCollectorEMock.php [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +00:00
ErrorCollectorTest.php [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +00:00
ErrorsHarness.php [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +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 Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +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] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +00:00
LanguageTest.php [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities 2007-06-26 19:33:37 +00:00
LexerTest.php [2.0.1] Fix DirectLex's incomprehension of un-armored script contents as CDATA using custom preg_replace_callback 2007-06-26 16:08:42 +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 Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! 2007-06-26 15:40:04 +00:00
URISchemeTest.php [1.2.0] Add context parameter to URIScheme and URISchemeRegistry classes. 2006-10-27 01:20:10 +00:00