Update to latest HTML5lib, Add Maruku testdir

Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
This commit is contained in:
Jacques Distler 2008-01-08 00:01:35 -06:00
parent ebc409e1a0
commit 1085168bbf
337 changed files with 21290 additions and 72 deletions

40
vendor/plugins/HTML5lib/test19.rb vendored Normal file
View file

@ -0,0 +1,40 @@
#
# This temporary test driver tracks progress on getting HTML5lib working
# on Ruby 1.9. Prereqs of Hoe, Hpricot, and UniversalDetector will be
# required to complete this.
#
# Once all the tests pass, this file should be deleted
#
require 'test/test_cli'
# requires UniversalDetector
# require 'test/test_encoding'
require 'test/test_input_stream'
# incompatible encoding regexp match
# require 'test/test_lxp'
require 'test/test_parser'
# warning: method redefined; discarding old test
# warning: instance variable @expanded_name not initialized
# require 'test/test_sanitizer'
# warning: instance variable @delegate_sd_obj not initialized
# require 'test/test_serializer'
# undebugged
# require 'test/test_sniffer'
require 'test/test_stream'
# warning: shadowing outer local variable - tokens
# require 'test/test_tokenizer'
# requires hpricot
# require 'test/test_treewalkers'
# warning: instance variable @delegate_sd_obj not initialized
# require 'test/test_validator'