Skip to content

Commit

Permalink
Remove syntax tests for codepoint escapes used outside of literals.
Browse files Browse the repository at this point in the history
  • Loading branch information
kasei authored and gkellogg committed Dec 8, 2020
1 parent 86220f3 commit 5979a87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
32 changes: 10 additions & 22 deletions sparql11/data-sparql11/syntax-query/manifest.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@
:test_pp_coll

:test_codepoint_escape_01
:test_codepoint_escape_02
:test_codepoint_escape_03
:test_codepoint_escape_bad_04
:test_codepoint_escape_bad_05
:test_codepoint_boundaries_01
:test_codepoint_boundaries_01_escaped
:test_invalid_codepoint_escaped_bad_01
:test_codepoint_escape_bad_02
:test_codepoint_escape_bad_03
:test_codepoint_boundaries_04
:test_codepoint_boundaries_escaped_05
:test_codepoint_invalid_escaped_bad_06
) .

:test_1 rdf:type mf:PositiveSyntaxTest11 ;
Expand Down Expand Up @@ -637,39 +635,29 @@
mf:name "\\U unicode codepoint escaping in literal" ;
mf:action <syn-codepoint-escape-01.rq> ;.

:test_codepoint_escape_02 rdf:type mf:PositiveSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "\\U unicode codepoint escaping in query syntax" ;
mf:action <syn-codepoint-escape-02.rq> ;.

:test_codepoint_escape_03 rdf:type mf:PositiveSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "\\U and \\u unicode codepoint escaping in variable name" ;
mf:action <syn-codepoint-escape-03.rq> ;.

:test_codepoint_escape_bad_04 rdf:type mf:NegativeSyntaxTest11 ;
:test_codepoint_escape_bad_02 rdf:type mf:NegativeSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "Invalid multi-pass codepoint escaping (\\u then \\U)" ;
mf:description "Unescaping one escape sequence must not produce content that is used in another escape sequence" ;
mf:action <syn-codepoint-escape-bad-04.rq> ;.

:test_codepoint_escape_bad_05 rdf:type mf:NegativeSyntaxTest11 ;
:test_codepoint_escape_bad_03 rdf:type mf:NegativeSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "Invalid multi-pass codepoint escaping (\\U then \\u)" ;
mf:description "Unescaping one escape sequence must not produce content that is used in another escape sequence" ;
mf:action <syn-codepoint-escape-bad-05.rq> ;.

:test_codepoint_boundaries_01 rdf:type mf:PositiveSyntaxTest11 ;
:test_codepoint_boundaries_04 rdf:type mf:PositiveSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "utf8 literal using codepoints at notable unicode boundaries" ;
mf:action <1val1STRING_LITERAL1_with_UTF8_boundaries.rq> ;.

:test_codepoint_boundaries_01_escaped rdf:type mf:PositiveSyntaxTest11 ;
:test_codepoint_boundaries_escaped_05 rdf:type mf:PositiveSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "\\U and \\u unicode codepoint escaping in literal using codepoints at notable unicode boundaries" ;
mf:action <1val1STRING_LITERAL1_with_UTF8_boundaries_escaped.rq> ;.

:test_invalid_codepoint_escaped_bad_01 rdf:type mf:NegativeSyntaxTest11 ;
:test_codepoint_invalid_escaped_bad_06 rdf:type mf:NegativeSyntaxTest11 ;
dawgt:approval dawgt:Proposed ;
mf:name "\\u unicode codepoint escaping in literal using partial surrogate pair" ;
mf:description "Using a codepoint that is half of a surrogate pair (in the range U+D800–U+DFFF) without a corresponding codepoint is illegal" ;
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 5979a87

Please sign in to comment.