clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/2] git commit: CLEREZZA-761:
Date Sat, 18 Jan 2014 13:57:52 GMT
Updated Branches:
  refs/heads/master 575667c5c -> 2a2784d4a


CLEREZZA-761:

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/f1611e8c
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/f1611e8c
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/f1611e8c

Branch: refs/heads/master
Commit: f1611e8c2197d0f7c414533d4a2cbfbad1f90902
Parents: aa2eb1d
Author: retobg <reto@apache.org>
Authored: Sat Jan 18 14:55:28 2014 +0100
Committer: retobg <reto@apache.org>
Committed: Sat Jan 18 14:55:28 2014 +0100

----------------------------------------------------------------------
 .../clerezza/rdf/core/sparql/SparqlPreParserTest.java    | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/f1611e8c/rdf.core/src/test/java/org/apache/clerezza/rdf/core/sparql/SparqlPreParserTest.java
----------------------------------------------------------------------
diff --git a/rdf.core/src/test/java/org/apache/clerezza/rdf/core/sparql/SparqlPreParserTest.java
b/rdf.core/src/test/java/org/apache/clerezza/rdf/core/sparql/SparqlPreParserTest.java
index ef94598..3b5bdbc 100644
--- a/rdf.core/src/test/java/org/apache/clerezza/rdf/core/sparql/SparqlPreParserTest.java
+++ b/rdf.core/src/test/java/org/apache/clerezza/rdf/core/sparql/SparqlPreParserTest.java
@@ -156,6 +156,17 @@ public class SparqlPreParserTest {
         Set<UriRef> referredGraphs = parser.getReferredGraphs(queryStr, DEFAULT_GRAPH);
         Assert.assertTrue(referredGraphs.toArray()[0].equals(DEFAULT_GRAPH));
     }
+    
+    /*@Test
+    public void testSimpleDescribe() throws ParseException {
+
+        String queryStr = "DESCRIBE <http://example.org/>";
+
+        SparqlPreParser parser;
+        parser = new SparqlPreParser(TcManager.getInstance());
+        Set<UriRef> referredGraphs = parser.getReferredGraphs(queryStr, DEFAULT_GRAPH);
+        Assert.assertTrue(referredGraphs.toArray()[0].equals(DEFAULT_GRAPH));
+    }*/
 
     @Test
     public void testDroppingNamedGraph() throws ParseException {


Mime
View raw message