Skip to content

Commit 7ebc6cd

Browse files
committed
add nquad tests
1 parent 36bc334 commit 7ebc6cd

File tree

89 files changed

+913
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+913
-0
lines changed

tests/JsonLD.Test/NQuads/README

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
This README is for the W3C RDF Working Group's N-Quads test suite.
2+
This test suite contains two kinds of tests:
3+
4+
Positive syntax (rdft:TestNQuadsPositiveSyntax) - an input N-Quads
5+
file with no syntax errors.
6+
7+
Negative syntax (rdft:TestNQuadsNegativeSyntax) - an input N-Quads
8+
file with at least one syntax error.
9+
10+
The manifest.ttl file in this directory lists tests in the
11+
RDF WG's N-Quads test suite. All
12+
tests have a name (mf:name) and an input (mf:action).
13+
14+
• An implementation passes a positive syntax test if it parses the
15+
input.
16+
17+
• An implementation passes a negative syntax test if it fails to parse
18+
the input.
19+
20+
The home of the test suite is <http://www.w3.org/2013/NQuadsTests/>.
21+
22+
See http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites for more details.
23+
24+
Eric Prud'hommeaux <eric+turtle@w3.org> - 11 June 2013.
25+
Gregg Kellogg <gregg@greggkellogg.net> - 26 June 2013.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<http://example/s> <http://example/p> <http://example/o> . # comment
2+
<http://example/s> <http://example/p> _:o . # comment
3+
<http://example/s> <http://example/p> "o" . # comment
4+
<http://example/s> <http://example/p> "o"^^<http://example/dt> . # comment
5+
<http://example/s> <http://example/p> "o"@en . # comment
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> "chat"@en .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK .

tests/JsonLD.Test/NQuads/literal.nq

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> "x" .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> " !\"#$%&():;<=>?@[]^_`{|}~" .
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://a.example/s> <http://a.example/p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .

0 commit comments

Comments
 (0)