0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00
htmlpurifier/tests
Edward Z. Yang cd4500457e More refactoring to MakeWellFormed and Injectors; they work better than ever now!
Major paradigm shift in this commit is bailing ship on the "skip" integers, which
were extremely buggy and error prone, and simply mark tokens as processed or
not processed by injectors. Other notable changes:

- Removed ad hoc decrements to inputIndex in favor of $reprocess flag variable
- Moved rewind outside of processToken()
- Make rewind properly ignore all other injectors
- Cleanup end of document code
- Reconfigure injector loops to account for skips and rewinds
- Punt the empty to start/end transformation
- Completely rewrite processToken to be array based
- Added skip and rewind member variables to tokens
- Fixed a longstanding bug with remove empty!

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-10-01 03:14:28 -04:00
..
FSTools Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest 2008-04-21 15:24:18 +00:00
HTMLPurifier More refactoring to MakeWellFormed and Injectors; they work better than ever now! 2008-10-01 03:14:28 -04:00
PHPT Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00
tmp Add Git specific files and configuration 2008-06-24 22:02:16 -04:00
CliTestCase.php - Make suite flush remote tests 2008-02-18 03:35:27 +00:00
common.php Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
Debugger.php [3.1.0] [BACKPORT] Fix bug with comments in styles, and some associated issues 2008-02-20 00:15:44 +00:00
generate_mock_once.func.php Add support for autoload. We're not, however, using it by default. 2008-01-21 18:43:59 +00:00
HTMLPurifierTest.php Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
index.php Various improvements to test script command line options, i.e. --type 2008-07-07 08:59:29 -04:00
multitest.php Various improvements to test script command line options, i.e. --type 2008-07-07 08:59:29 -04:00
path2class.func.php Remove trailing ?> in PHP library files, add trailing newlines to all other files. 2007-06-27 13:58:32 +00:00
test_files.php Various improvements to test script command line options, i.e. --type 2008-07-07 08:59:29 -04:00