[tracker/graph] libtracker-data: Update tests for named graphs with new syntax



commit 3afeff8182e8d36a0aaf3582e378f6f9320798c8
Author: Jürg Billeter <j bitron ch>
Date:   Wed Feb 17 11:35:47 2010 +0100

    libtracker-data: Update tests for named graphs with new syntax

 tests/libtracker-data/graph/data-1.rq |   16 +++++++++-------
 tests/libtracker-data/graph/data-2.rq |   16 ++++++++++------
 tests/libtracker-data/graph/data-3.rq |    8 ++++----
 3 files changed, 23 insertions(+), 17 deletions(-)
---
diff --git a/tests/libtracker-data/graph/data-1.rq b/tests/libtracker-data/graph/data-1.rq
index 1dac553..480bc2d 100644
--- a/tests/libtracker-data/graph/data-1.rq
+++ b/tests/libtracker-data/graph/data-1.rq
@@ -1,8 +1,10 @@
-INSERT INTO example:graphA {
-	example:resource a example:A ;
-		example:p 42
-}
-INSERT INTO example:graphB {
-	example:resource a example:A ;
-		example:p 42
+INSERT {
+	GRAPH example:graphA {
+		example:resource a example:A ;
+			example:p 42
+	}
+	GRAPH example:graphB {
+		example:resource a example:A ;
+			example:p 42
+	}
 }
diff --git a/tests/libtracker-data/graph/data-2.rq b/tests/libtracker-data/graph/data-2.rq
index d5e6441..bfe6489 100644
--- a/tests/libtracker-data/graph/data-2.rq
+++ b/tests/libtracker-data/graph/data-2.rq
@@ -1,11 +1,15 @@
-INSERT INTO example:graphA {
-	example:resource a example:A ;
-		example:p 42
+INSERT {
+	GRAPH example:graphA {
+		example:resource a example:A ;
+			example:p 42
+	}
 }
 DELETE {
 	example:resource example:p 42
 }
-INSERT INTO example:graphB {
-	example:resource a example:A ;
-		example:p 42
+INSERT {
+	GRAPH example:graphB {
+		example:resource a example:A ;
+			example:p 42
+	}
 }
diff --git a/tests/libtracker-data/graph/data-3.rq b/tests/libtracker-data/graph/data-3.rq
index e1d1c6e..4b8df07 100644
--- a/tests/libtracker-data/graph/data-3.rq
+++ b/tests/libtracker-data/graph/data-3.rq
@@ -1,8 +1,8 @@
 INSERT {
 	example:graphA a example:Graph ;
 		example:graphTitle "Graph Foo" .
-}
-INSERT INTO example:graphA {
-	example:resource a example:A ;
-		example:p 42
+	GRAPH example:graphA {
+		example:resource a example:A ;
+			example:p 42
+	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]