[tracker] libtracker-data: Sort function test results to avoid test failures



commit 5bf84719fb700eb097b577b3867e84fe2ec95270
Author: Jürg Billeter <j bitron ch>
Date:   Mon Dec 13 10:41:30 2010 +0100

    libtracker-data: Sort function test results to avoid test failures

 .../functions/functions-xpath-3.out                |    4 ++--
 .../libtracker-data/functions/functions-xpath-3.rq |    2 +-
 .../functions/functions-xpath-4.out                |    2 +-
 .../libtracker-data/functions/functions-xpath-4.rq |    2 +-
 .../functions/functions-xpath-5.out                |    4 ++--
 .../libtracker-data/functions/functions-xpath-5.rq |    2 +-
 .../functions/functions-xpath-6.out                |    4 ++--
 .../libtracker-data/functions/functions-xpath-6.rq |    2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/tests/libtracker-data/functions/functions-xpath-3.out b/tests/libtracker-data/functions/functions-xpath-3.out
index 76fb988..18efc6d 100644
--- a/tests/libtracker-data/functions/functions-xpath-3.out
+++ b/tests/libtracker-data/functions/functions-xpath-3.out
@@ -1,6 +1,6 @@
-"other"
-"fourth|testing"
 "fifth|purposes"
 "first|Test|optional"
+"fourth|testing"
+"other"
 "second|Text"
 "third|for|optional for third"
diff --git a/tests/libtracker-data/functions/functions-xpath-3.rq b/tests/libtracker-data/functions/functions-xpath-3.rq
index ea5155c..d123d19 100644
--- a/tests/libtracker-data/functions/functions-xpath-3.rq
+++ b/tests/libtracker-data/functions/functions-xpath-3.rq
@@ -5,4 +5,4 @@ SELECT fn:string-join((?s,?t,?u),"|")
 { OPTIONAL { ?_x ex:s ?s . }
   OPTIONAL { ?_x ex:t ?t . }
   OPTIONAL { ?_x ex:u ?u . }
-}
+} ORDER BY ?s ?t ?u
diff --git a/tests/libtracker-data/functions/functions-xpath-4.out b/tests/libtracker-data/functions/functions-xpath-4.out
index da983aa..dc62fd4 100644
--- a/tests/libtracker-data/functions/functions-xpath-4.out
+++ b/tests/libtracker-data/functions/functions-xpath-4.out
@@ -1,5 +1,5 @@
-"fourth-testing"
 "fifth-purposes"
 "first-Test"
+"fourth-testing"
 "second-Text"
 "third-for"
diff --git a/tests/libtracker-data/functions/functions-xpath-4.rq b/tests/libtracker-data/functions/functions-xpath-4.rq
index c754eca..1f86822 100644
--- a/tests/libtracker-data/functions/functions-xpath-4.rq
+++ b/tests/libtracker-data/functions/functions-xpath-4.rq
@@ -4,4 +4,4 @@ PREFIX ns: <http://www.w3.org/2005/xpath-functions#>
 SELECT fn:concat(?s,"-",?t)
 { ?_x ex:s ?s .
   ?_x ex:t ?t .
-}
+} ORDER BY ?s ?t
diff --git a/tests/libtracker-data/functions/functions-xpath-5.out b/tests/libtracker-data/functions/functions-xpath-5.out
index c89a7dc..e96f27b 100644
--- a/tests/libtracker-data/functions/functions-xpath-5.out
+++ b/tests/libtracker-data/functions/functions-xpath-5.out
@@ -1,5 +1,5 @@
-"ing"	"ti"
+""	""
 "oses"	"po"
 ""	"t"
+"ing"	"ti"
 ""	"t"
-""	""
diff --git a/tests/libtracker-data/functions/functions-xpath-5.rq b/tests/libtracker-data/functions/functions-xpath-5.rq
index 0734bb9..2c8be0d 100644
--- a/tests/libtracker-data/functions/functions-xpath-5.rq
+++ b/tests/libtracker-data/functions/functions-xpath-5.rq
@@ -7,4 +7,4 @@ SELECT
 
 WHERE {
   ?_x ex:t ?t .
-}
+} ORDER BY ?t
diff --git a/tests/libtracker-data/functions/functions-xpath-6.out b/tests/libtracker-data/functions/functions-xpath-6.out
index 593c2b3..08cad02 100644
--- a/tests/libtracker-data/functions/functions-xpath-6.out
+++ b/tests/libtracker-data/functions/functions-xpath-6.out
@@ -1,5 +1,5 @@
-"testing"
+"for"
 "purposes"
 "test"
+"testing"
 "text"
-"for"
diff --git a/tests/libtracker-data/functions/functions-xpath-6.rq b/tests/libtracker-data/functions/functions-xpath-6.rq
index 67fd91c..6161b45 100644
--- a/tests/libtracker-data/functions/functions-xpath-6.rq
+++ b/tests/libtracker-data/functions/functions-xpath-6.rq
@@ -6,4 +6,4 @@ SELECT
 
 WHERE {
   ?_x ex:t ?t .
-}
+} ORDER BY ?t



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