jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1397812 - /jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/
Date Sat, 13 Oct 2012 11:04:10 GMT
Author: andy
Date: Sat Oct 13 11:04:09 2012
New Revision: 1397812

URL: http://svn.apache.org/viewvc?rev=1397812&view=rev
Log:
Turtle tests.

Added:
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-11.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-12.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-13.ttl
Modified:
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/   (props changed)
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/gentests
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/manifest.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/master
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-01.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-02.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-03.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-04.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-05.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-06.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-07.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-08.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-09.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-10.ttl
    jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bnode-07.ttl

Propchange: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Oct 13 11:04:09 2012
@@ -0,0 +1 @@
+LOG

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/gentests
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/gentests?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/gentests (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/gentests Sat Oct 13 11:04:09 2012
@@ -34,7 +34,8 @@ while(<>)
     if ( /^ROOT=(.*)/ )
     {
 	$rn = $1 ;
-	$rootnames{$rn} = 0 ;
+	$rootnames{$rn} = 0 
+	    if ( !defined($rootnames{$rn}) ) ;
 	$currentRoot = $rn ;
 	next ;
     }

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/manifest.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/manifest.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/manifest.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/manifest.ttl Sat Oct 13 11:04:09
2012
@@ -115,9 +115,6 @@
     <#syn-bad-kw-03>
     <#syn-bad-kw-04>
     <#syn-bad-kw-05>
-    <#syn-bad-struct-01>
-    <#syn-bad-struct-02>
-    <#syn-bad-struct-03>
     <#syn-bad-struct-04>
     <#syn-bad-struct-05>
     <#syn-bad-struct-06>
@@ -125,6 +122,9 @@
     <#syn-bad-struct-08>
     <#syn-bad-struct-09>
     <#syn-bad-struct-10>
+    <#syn-bad-struct-11>
+    <#syn-bad-struct-12>
+    <#syn-bad-struct-13>
     <#syn-bad-lang-01>
     <#syn-bad-esc-01>
     <#syn-bad-esc-02>
@@ -599,21 +599,6 @@
    mf:action    <syn-bad-kw-05.ttl> ;
    .
 
-<#syn-bad-struct-01> rdf:type rdft:TestTurtleNegativeSyntax ;
-   mf:name    "syn-bad-struct-01" ;
-   mf:action    <syn-bad-struct-01.ttl> ;
-   .
-
-<#syn-bad-struct-02> rdf:type rdft:TestTurtleNegativeSyntax ;
-   mf:name    "syn-bad-struct-02" ;
-   mf:action    <syn-bad-struct-02.ttl> ;
-   .
-
-<#syn-bad-struct-03> rdf:type rdft:TestTurtleNegativeSyntax ;
-   mf:name    "syn-bad-struct-03" ;
-   mf:action    <syn-bad-struct-03.ttl> ;
-   .
-
 <#syn-bad-struct-04> rdf:type rdft:TestTurtleNegativeSyntax ;
    mf:name    "syn-bad-struct-04" ;
    mf:action    <syn-bad-struct-04.ttl> ;
@@ -649,6 +634,21 @@
    mf:action    <syn-bad-struct-10.ttl> ;
    .
 
+<#syn-bad-struct-11> rdf:type rdft:TestTurtleNegativeSyntax ;
+   mf:name    "syn-bad-struct-11" ;
+   mf:action    <syn-bad-struct-11.ttl> ;
+   .
+
+<#syn-bad-struct-12> rdf:type rdft:TestTurtleNegativeSyntax ;
+   mf:name    "syn-bad-struct-12" ;
+   mf:action    <syn-bad-struct-12.ttl> ;
+   .
+
+<#syn-bad-struct-13> rdf:type rdft:TestTurtleNegativeSyntax ;
+   mf:name    "syn-bad-struct-13" ;
+   mf:action    <syn-bad-struct-13.ttl> ;
+   .
+
 <#syn-bad-lang-01> rdf:type rdft:TestTurtleNegativeSyntax ;
    mf:name    "syn-bad-lang-01" ;
    mf:action    <syn-bad-lang-01.ttl> ;

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/master
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/master?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/master (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/master Sat Oct 13 11:04:09 2012
@@ -233,8 +233,8 @@ _:a  :p :o .
 
 --Syntax--
 @prefix : <http://example/> .
-:s  :p _a .
-_a  :p :o .
+:s  :p _:a .
+_:a  :p :o .
 --End--
 
 # Literals

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-01.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-01.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-01.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-01.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1,2 @@
-# No DOT
-<http://example/s> <http://example/p> <http://example/o>
+# Turtle is not TriG
+{ <http://example/s> <http://example/p> <http://example/o> }

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-02.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-02.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-02.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-02.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1,2 @@
-# Too many DOT
-<http://example/s> <http://example/p> <http://example/o> . .
+# Turtle is not N3
+<http://example/s> = <http://example/o> .

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-03.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-03.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-03.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-03.ttl Sat Oct 13
11:04:09 2012
@@ -1,3 +1,2 @@
-# Too many DOT
-<http://example/s> <http://example/p> <http://example/o> . .
-<http://example/s1> <http://example/p1> <http://example/o1> .
+# Turtle is not NQuads
+<http://example/s> <http://example/p> <http://example/o> <http://example/g>
.

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-04.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-04.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-04.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-04.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1,2 @@
-# Trailing ;
-<http://example/s> <http://example/p> <http://example/o> ;
+# No DOT
+<http://example/s> <http://example/p> <http://example/o>

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-05.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-05.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-05.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-05.ttl Sat Oct 13
11:04:09 2012
@@ -1 +1,2 @@
-<http://example/s> <http://example/p> 
+# Too many DOT
+<http://example/s> <http://example/p> <http://example/o> . .

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-06.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-06.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-06.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-06.ttl Sat Oct 13
11:04:09 2012
@@ -1 +1,3 @@
-<http://example/s> <http://example/p> 
+# Too many DOT
+<http://example/s> <http://example/p> <http://example/o> . .
+<http://example/s1> <http://example/p1> <http://example/o1> .

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-07.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-07.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-07.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-07.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1,2 @@
-# Literal as subject
-"abc" <http://example/p> <http://example/p>  .
+# Trailing ;
+<http://example/s> <http://example/p> <http://example/o> ;

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-08.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-08.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-08.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-08.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1 @@
-# Literal as predicate
-<http://example/s> "abc" <http://example/p>  .
+<http://example/s> <http://example/p> 

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-09.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-09.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-09.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-09.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1 @@
-# BNode as predicate
-<http://example/s> [] <http://example/p>  .
+<http://example/s> <http://example/p> 

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-10.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-10.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-10.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-10.ttl Sat Oct 13
11:04:09 2012
@@ -1,2 +1,2 @@
-# BNode as predicate
-<http://example/s> _:a <http://example/p>  .
+# Literal as subject
+"abc" <http://example/p> <http://example/p>  .

Added: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-11.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-11.ttl?rev=1397812&view=auto
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-11.ttl (added)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-11.ttl Sat Oct 13
11:04:09 2012
@@ -0,0 +1,2 @@
+# Literal as predicate
+<http://example/s> "abc" <http://example/p>  .

Added: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-12.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-12.ttl?rev=1397812&view=auto
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-12.ttl (added)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-12.ttl Sat Oct 13
11:04:09 2012
@@ -0,0 +1,2 @@
+# BNode as predicate
+<http://example/s> [] <http://example/p>  .

Added: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-13.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-13.ttl?rev=1397812&view=auto
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-13.ttl (added)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bad-struct-13.ttl Sat Oct 13
11:04:09 2012
@@ -0,0 +1,2 @@
+# BNode as predicate
+<http://example/s> _:a <http://example/p>  .

Modified: jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bnode-07.ttl
URL: http://svn.apache.org/viewvc/jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bnode-07.ttl?rev=1397812&r1=1397811&r2=1397812&view=diff
==============================================================================
--- jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bnode-07.ttl (original)
+++ jena/Experimental/riot-reader/testing/RIOT/Lang/Turtle/syn-bnode-07.ttl Sat Oct 13 11:04:09
2012
@@ -1,3 +1,3 @@
 @prefix : <http://example/> .
-:s  :p _a .
-_a  :p :o .
+:s  :p _:a .
+_:a  :p :o .



Mime
View raw message