tree: ddc4be643cfc07c6dd38f24861856fa710f272bc [path history] [tgz]
  1. comments-expected.txt
  2. comments.sky
  3. control-expected.txt
  4. control.sky
  5. cr-expected.txt
  6. cr.sky
  7. empty-expected.txt
  8. empty.sky
  9. endtag-expected.txt
  10. endtag.sky
  11. entity-expected.txt
  12. entity.sky
  13. html-expected.txt
  14. html.sky
  15. normaliser-crlf-expected.txt
  16. normaliser-crlf.sky
  17. normaliser-null-expected.txt
  18. normaliser-null.sky
  19. README.md
  20. script-expected.txt
  21. script.sky
  22. starttag-expected.txt
  23. starttag.sky
  24. style-expected.txt
  25. style.sky
  26. utf16-expected.txt
  27. utf16.sky
  28. voidtag-expected.txt
  29. voidtag.sky
  30. whitespace-expected.txt
  31. whitespace.sky
sky/tests/parser/README.md

The empty, cr, and utf16 tests don't import the test framework so they currently hang until timeout. Really they should just check that nothing crashes. For now they are disabled.

We should also test the following (each line is its own test):

<
<!
<!-
<!--
<!---
<!----
<!---->
<!----->
<a
<aa
<a 
<a a
<a a=
<a a=&
<a a=&#
<a a=&#x
<a a=&#x1
<a a=&#x1;
<a a=&#1
<a a=&#1;
<a a=&a
<a a=&a;
<a a=&;
<a a='
<a a="
<a a=a
<a>
<a >
<a a>
<a a=>
<a a=&>
<a a=&#>
<a a=&#x>
<a a=&#x1>
<a a=&#x1;>
<a a=&#1>
<a a=&#1;>
<a a=&a>
<a a=&a;>
<a a=&;>
<a a=''>
<a a="">
<a a=a>
<a a >
<a a= >
<a a=& >
<a a=&# >
<a a=&#x >
<a a=&#x1 >
<a a=&#x1; >
<a a=&#1 >
<a a=&#1; >
<a a=&a >
<a a=&a; >
<a a=&; >
<a a='' >
<a a="" >
<a a=a >
</a
</aa
</a 
</a a
</a a=
</a a=&
</a a=&#
</a a=&#x
</a a=&#x1
</a a=&#x1;
</a a=&#1
</a a=&#1;
</a a=&a
</a a=&a;
</a a=&;
</a a='
</a a="
</a a=a
</a>
</a >
</a a>
</a a=>
</a a=&>
</a a=&#>
</a a=&#x>
</a a=&#x1>
</a a=&#x1;>
</a a=&#1>
</a a=&#1;>
</a a=&a>
</a a=&a;>
</a a=&;>
</a a=''>
</a a="">
</a a=a>
</a a >
</a a= >
</a a=& >
</a a=&# >
</a a=&#x >
</a a=&#x1 >
</a a=&#x1; >
</a a=&#1 >
</a a=&#1; >
</a a=&a >
</a a=&a; >
</a a=&; >
</a a='' >
</a a="" >
</a a=a >
a
&
&#
&#x
&#x1
&#x1;
&#1
&#1;
&a
&a;
&;

We should also test:

  • multiple elements per page
  • signature stuff