Skip to content

Commit 76bb318

Browse files
committed
Merge pull request #37 from robstewart57/turtle-lists-eval-tests
Switches turtle list positive syntax tests to evaluation tests
2 parents f1e58ac + 8869911 commit 76bb318

11 files changed

+62
-20
lines changed

turtle/manifest.ttl

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@
204204
<#turtle-syntax-struct-03>
205205
<#turtle-syntax-struct-04>
206206
<#turtle-syntax-struct-05>
207-
<#turtle-syntax-lists-01>
208-
<#turtle-syntax-lists-02>
209-
<#turtle-syntax-lists-03>
210-
<#turtle-syntax-lists-04>
211-
<#turtle-syntax-lists-05>
207+
<#turtle-eval-lists-01>
208+
<#turtle-eval-lists-02>
209+
<#turtle-eval-lists-03>
210+
<#turtle-eval-lists-04>
211+
<#turtle-eval-lists-05>
212212
<#turtle-syntax-bad-uri-01>
213213
<#turtle-syntax-bad-uri-02>
214214
<#turtle-syntax-bad-uri-03>
@@ -1604,39 +1604,44 @@
16041604
mf:action <turtle-syntax-struct-05.ttl> ;
16051605
.
16061606

1607-
<#turtle-syntax-lists-01> rdf:type rdft:TestTurtlePositiveSyntax ;
1608-
mf:name "turtle-syntax-lists-01" ;
1607+
<#turtle-eval-lists-01> rdf:type rdft:TestTurtleEval ;
1608+
mf:name "turtle-eval-lists-01" ;
16091609
rdfs:comment "empty list" ;
16101610
rdft:approval rdft:Approved ;
1611-
mf:action <turtle-syntax-lists-01.ttl> ;
1611+
mf:action <turtle-eval-lists-01.ttl> ;
1612+
mf:result <turtle-eval-lists-01.nt> ;
16121613
.
16131614

1614-
<#turtle-syntax-lists-02> rdf:type rdft:TestTurtlePositiveSyntax ;
1615-
mf:name "turtle-syntax-lists-02" ;
1615+
<#turtle-eval-lists-02> rdf:type rdft:TestTurtleEval ;
1616+
mf:name "turtle-eval-lists-02" ;
16161617
rdfs:comment "mixed list" ;
16171618
rdft:approval rdft:Approved ;
1618-
mf:action <turtle-syntax-lists-02.ttl> ;
1619+
mf:action <turtle-eval-lists-02.ttl> ;
1620+
mf:result <turtle-eval-lists-02.nt> ;
16191621
.
16201622

1621-
<#turtle-syntax-lists-03> rdf:type rdft:TestTurtlePositiveSyntax ;
1622-
mf:name "turtle-syntax-lists-03" ;
1623+
<#turtle-eval-lists-03> rdf:type rdft:TestTurtleEval ;
1624+
mf:name "turtle-eval-lists-03" ;
16231625
rdfs:comment "isomorphic list as subject and object" ;
16241626
rdft:approval rdft:Approved ;
1625-
mf:action <turtle-syntax-lists-03.ttl> ;
1627+
mf:action <turtle-eval-lists-03.ttl> ;
1628+
mf:result <turtle-eval-lists-03.nt> ;
16261629
.
16271630

1628-
<#turtle-syntax-lists-04> rdf:type rdft:TestTurtlePositiveSyntax ;
1629-
mf:name "turtle-syntax-lists-04" ;
1631+
<#turtle-eval-lists-04> rdf:type rdft:TestTurtleEval ;
1632+
mf:name "turtle-eval-lists-04" ;
16301633
rdfs:comment "lists of lists" ;
16311634
rdft:approval rdft:Approved ;
1632-
mf:action <turtle-syntax-lists-04.ttl> ;
1635+
mf:action <turtle-eval-lists-04.ttl> ;
1636+
mf:result <turtle-eval-lists-04.nt> ;
16331637
.
16341638

1635-
<#turtle-syntax-lists-05> rdf:type rdft:TestTurtlePositiveSyntax ;
1636-
mf:name "turtle-syntax-lists-05" ;
1639+
<#turtle-eval-lists-05> rdf:type rdft:TestTurtleEval ;
1640+
mf:name "turtle-eval-lists-05" ;
16371641
rdfs:comment "mixed lists with embedded lists" ;
16381642
rdft:approval rdft:Approved ;
1639-
mf:action <turtle-syntax-lists-05.ttl> ;
1643+
mf:action <turtle-eval-lists-05.ttl> ;
1644+
mf:result <turtle-eval-lists-05.nt> ;
16401645
.
16411646

16421647
<#turtle-syntax-bad-uri-01> rdf:type rdft:TestTurtleNegativeSyntax ;

turtle/turtle-eval-lists-01.nt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
File renamed without changes.

turtle/turtle-eval-lists-02.nt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<http://www.w3.org/2013/TurtleTests/s> <http://www.w3.org/2013/TurtleTests/p> _:b1 .
2+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
3+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b2 .
4+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2" .
5+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b3 .
6+
_:b3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2013/TurtleTests/o> .
7+
_:b3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
File renamed without changes.

turtle/turtle-eval-lists-03.nt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
2+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
3+
_:b1 <http://www.w3.org/2013/TurtleTests/p> _:b2 .
4+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
5+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
File renamed without changes.

turtle/turtle-eval-lists-04.nt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
2+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
3+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
4+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
5+
_:b1 <http://www.w3.org/2013/TurtleTests/p> _:b2 .
File renamed without changes.

turtle/turtle-eval-lists-05.nt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
2+
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b2 .
3+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
4+
_:b3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
5+
_:b3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b4 .
6+
_:b4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
7+
_:b4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
8+
_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b5 .
9+
_:b5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b3 .
10+
_:b5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
11+
_:b6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" .
12+
_:b6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
13+
_:b7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b6 .
14+
_:b7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b8 .
15+
_:b8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" .
16+
_:b8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b9 .
17+
_:b9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://www.w3.org/2013/TurtleTests/o> .
18+
_:b9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
19+
_:b1 <http://www.w3.org/2013/TurtleTests/p> _:b7 .

0 commit comments

Comments
 (0)