You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/07/14 11:17:34 UTC
[4/5] jena git commit: Tests for JENA-989
Tests for JENA-989
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/85ed839b
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/85ed839b
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/85ed839b
Branch: refs/heads/master
Commit: 85ed839b0d184995810a3fe0e232c184d47ede36
Parents: 3c0a62f
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Jul 14 10:11:46 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Jul 14 10:16:59 2015 +0100
----------------------------------------------------------------------
jena-arq/testing/ARQ/Serialization/func.sh | 1 -
jena-arq/testing/ARQ/Serialization/manifest.ttl | 24 ++++++++++++++++++++
.../testing/ARQ/Serialization/syntax-path-01.rq | 5 ++++
.../testing/ARQ/Serialization/syntax-path-02.rq | 5 ++++
.../testing/ARQ/Serialization/syntax-path-03.rq | 6 +++++
.../testing/ARQ/Serialization/syntax-path-04.rq | 6 +++++
.../testing/ARQ/Serialization/syntax-path-05.rq | 7 ++++++
.../testing/ARQ/Serialization/syntax-path-06.rq | 8 +++++++
8 files changed, 61 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/func.sh
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/func.sh b/jena-arq/testing/ARQ/Serialization/func.sh
index a901b3c..e8ba65f 100644
--- a/jena-arq/testing/ARQ/Serialization/func.sh
+++ b/jena-arq/testing/ARQ/Serialization/func.sh
@@ -16,7 +16,6 @@ function createManifest
mf:entries
(
EOF
- # Queries good syntax
for f in *.rq *.arq
do
cat >> manifest.ttl <<EOF
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/manifest.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/manifest.ttl b/jena-arq/testing/ARQ/Serialization/manifest.ttl
index 828a301..981a8d3 100644
--- a/jena-arq/testing/ARQ/Serialization/manifest.ttl
+++ b/jena-arq/testing/ARQ/Serialization/manifest.ttl
@@ -472,6 +472,30 @@
rdf:type mfx:TestSerialization ;
mf:action <syntax-pat-04.rq> ;
]
+ [ mf:name "syntax-path-01.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-01.rq> ;
+ ]
+ [ mf:name "syntax-path-02.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-02.rq> ;
+ ]
+ [ mf:name "syntax-path-03.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-03.rq> ;
+ ]
+ [ mf:name "syntax-path-04.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-04.rq> ;
+ ]
+ [ mf:name "syntax-path-05.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-05.rq> ;
+ ]
+ [ mf:name "syntax-path-06.rq" ;
+ rdf:type mfx:TestSerialization ;
+ mf:action <syntax-path-06.rq> ;
+ ]
[ mf:name "syntax-qname-01.rq" ;
rdf:type mfx:TestSerialization ;
mf:action <syntax-qname-01.rq> ;
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-01.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-01.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-01.rq
new file mode 100644
index 0000000..15a5b29
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-01.rq
@@ -0,0 +1,5 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ :s :p* ?x .
+}
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-02.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-02.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-02.rq
new file mode 100644
index 0000000..eb9da30
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-02.rq
@@ -0,0 +1,5 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ :s (:p*/:q?) ?x .
+}
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-03.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-03.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-03.rq
new file mode 100644
index 0000000..b094699
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-03.rq
@@ -0,0 +1,6 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ ?s ?p ?o .
+ :s :p* ?x .
+}
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-04.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-04.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-04.rq
new file mode 100644
index 0000000..b094699
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-04.rq
@@ -0,0 +1,6 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ ?s ?p ?o .
+ :s :p* ?x .
+}
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-05.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-05.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-05.rq
new file mode 100644
index 0000000..dfda59f
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-05.rq
@@ -0,0 +1,7 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ ?s ?p ?o1 .
+ :s :p* ?x .
+ ?s ?p ?o2 .
+}
http://git-wip-us.apache.org/repos/asf/jena/blob/85ed839b/jena-arq/testing/ARQ/Serialization/syntax-path-06.rq
----------------------------------------------------------------------
diff --git a/jena-arq/testing/ARQ/Serialization/syntax-path-06.rq b/jena-arq/testing/ARQ/Serialization/syntax-path-06.rq
new file mode 100644
index 0000000..e80012c
--- /dev/null
+++ b/jena-arq/testing/ARQ/Serialization/syntax-path-06.rq
@@ -0,0 +1,8 @@
+PREFIX : <http://example/>
+
+SELECT * {
+ ?s ?p ?o1 .
+ :s :p* ?x1,?x2 .
+ ?s ?p ?o2 .
+ :s :p* ?x1; (:q1|:q2) ?x2 .
+}