- Notifications
You must be signed in to change notification settings - Fork294
Add expected failures#174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
8 commits Select commitHold shift + click to select a range
95b673f
Fix over indentation
gsnedders5ef00b1
Add expected failures for tree-construction tests.
gsneddersc66d41e
Use the nose skip plugin to actually properly skip tests.
gsnedders0081e81
Add expected failures for the tokenizer (except lone surrogates!).
gsnedderse706397
sys.version_info is only a "named tuple"-like obj from 2.7
gsneddersd0f3b7b
Move where we concatenate expected tokens to handle ignoreErrorOrder
gsnedders8dac860
Our tokenizer currently never outputs adjacent Character tokens; expe…
gsnedders505fb52
Update html5lib-tests submodule to current master.
gsneddersFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
40 changes: 40 additions & 0 deletionshtml5lib/tests/expected-failures/tokenizer.dat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#data | ||
<!DOCTYPE> | ||
#data | ||
<!DOCTYPE > | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE | ||
#data | ||
<!DOCTYPE |
59 changes: 59 additions & 0 deletionshtml5lib/tests/expected-failures/tree-construction.dat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#data | ||
<html><ruby>a<rtc>b<rt>c<rb>d</ruby></html> | ||
#data | ||
<html><ruby>a<rb>b<rt></ruby></html> | ||
#data | ||
<!DOCTYPE html><body><svg attributename='' attributetype='' basefrequency='' baseprofile='' calcmode='' clippathunits='' contentscripttype='' contentstyletype='' diffuseconstant='' edgemode='' externalresourcesrequired='' filterres='' filterunits='' glyphref='' gradienttransform='' gradientunits='' kernelmatrix='' kernelunitlength='' keypoints='' keysplines='' keytimes='' lengthadjust='' limitingconeangle='' markerheight='' markerunits='' markerwidth='' maskcontentunits='' maskunits='' numoctaves='' pathlength='' patterncontentunits='' patterntransform='' patternunits='' pointsatx='' pointsaty='' pointsatz='' preservealpha='' preserveaspectratio='' primitiveunits='' refx='' refy='' repeatcount='' repeatdur='' requiredextensions='' requiredfeatures='' specularconstant='' specularexponent='' spreadmethod='' startoffset='' stddeviation='' stitchtiles='' surfacescale='' systemlanguage='' tablevalues='' targetx='' targety='' textlength='' viewbox='' viewtarget='' xchannelselector='' ychannelselector='' zoomandpan=''></svg> | ||
#data | ||
<html><ruby>a<rt>b<rb></ruby></html> | ||
#data | ||
<html><ruby>a<rt>b<rtc></ruby></html> | ||
#data | ||
<html><ruby><rtc><ruby>a<rb>b<rt></ruby></ruby></html> | ||
#data | ||
<!DOCTYPE html><body><command>A | ||
#data | ||
<html><ruby>a<rb>b<rp></ruby></html> | ||
#data | ||
<!DOCTYPE html><body><svg attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMode='' clipPathUnits='' contentScriptType='' contentStyleType='' diffuseConstant='' edgeMode='' externalResourcesRequired='' filterRes='' filterUnits='' glyphRef='' gradientTransform='' gradientUnits='' kernelMatrix='' kernelUnitLength='' keyPoints='' keySplines='' keyTimes='' lengthAdjust='' limitingConeAngle='' markerHeight='' markerUnits='' markerWidth='' maskContentUnits='' maskUnits='' numOctaves='' pathLength='' patternContentUnits='' patternTransform='' patternUnits='' pointsAtX='' pointsAtY='' pointsAtZ='' preserveAlpha='' preserveAspectRatio='' primitiveUnits='' refX='' refY='' repeatCount='' repeatDur='' requiredExtensions='' requiredFeatures='' specularConstant='' specularExponent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' xChannelSelector='' yChannelSelector='' zoomAndPan=''></svg> | ||
#data | ||
<html><ruby>a<rtc>b<rtc></ruby></html> | ||
#data | ||
<!DOCTYPE html><frameset> te st | ||
#data | ||
<html><ruby>a<rp>b<rtc></ruby></html> | ||
#data | ||
<!DOCTYPE html><frameset></frameset> te st | ||
#data | ||
<html><ruby>a<rb>b<rb></ruby></html> | ||
#data | ||
<html><ruby>a<rtc>b<rp></ruby></html> | ||
#data | ||
<!DOCTYPE html><body><menuitem>A | ||
#data | ||
<!DOCTYPE html><BODY><SVG ATTRIBUTENAME='' ATTRIBUTETYPE='' BASEFREQUENCY='' BASEPROFILE='' CALCMODE='' CLIPPATHUNITS='' CONTENTSCRIPTTYPE='' CONTENTSTYLETYPE='' DIFFUSECONSTANT='' EDGEMODE='' EXTERNALRESOURCESREQUIRED='' FILTERRES='' FILTERUNITS='' GLYPHREF='' GRADIENTTRANSFORM='' GRADIENTUNITS='' KERNELMATRIX='' KERNELUNITLENGTH='' KEYPOINTS='' KEYSPLINES='' KEYTIMES='' LENGTHADJUST='' LIMITINGCONEANGLE='' MARKERHEIGHT='' MARKERUNITS='' MARKERWIDTH='' MASKCONTENTUNITS='' MASKUNITS='' NUMOCTAVES='' PATHLENGTH='' PATTERNCONTENTUNITS='' PATTERNTRANSFORM='' PATTERNUNITS='' POINTSATX='' POINTSATY='' POINTSATZ='' PRESERVEALPHA='' PRESERVEASPECTRATIO='' PRIMITIVEUNITS='' REFX='' REFY='' REPEATCOUNT='' REPEATDUR='' REQUIREDEXTENSIONS='' REQUIREDFEATURES='' SPECULARCONSTANT='' SPECULAREXPONENT='' SPREADMETHOD='' STARTOFFSET='' STDDEVIATION='' STITCHTILES='' SURFACESCALE='' SYSTEMLANGUAGE='' TABLEVALUES='' TARGETX='' TARGETY='' TEXTLENGTH='' VIEWBOX='' VIEWTARGET='' XCHANNELSELECTOR='' YCHANNELSELECTOR='' ZOOMANDPAN=''></SVG> | ||
#data | ||
<html><ruby>a<rp>b<rb></ruby></html> | ||
#data | ||
<html><ruby>a<rb>b<rtc></ruby></html> | ||
#data | ||
<html><ruby>a<rtc>b<rb></ruby></html> |
18 changes: 17 additions & 1 deletionhtml5lib/tests/support.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletionhtml5lib/tests/test_encoding.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
47 changes: 40 additions & 7 deletionshtml5lib/tests/test_parser.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
27 changes: 23 additions & 4 deletionshtml5lib/tests/test_tokenizer.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.