jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject [03/50] [abbrv] jena git commit: JENA-881: Change test results - order in exprlists has changed.
Date Tue, 17 Feb 2015 12:42:12 GMT
JENA-881: Change test results - order in exprlists has changed.

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

Branch: refs/heads/eliminate-assignments
Commit: 491d0f9647ab215434c74e7145859d02542deeec
Parents: 4f5fd49
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Feb 7 12:37:34 2015 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Feb 7 12:37:34 2015 +0000

----------------------------------------------------------------------
 .../optimize/TestTransformFilterPlacement.java      | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/491d0f96/jena-arq/src/test/java/com/hp/hpl/jena/sparql/algebra/optimize/TestTransformFilterPlacement.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/test/java/com/hp/hpl/jena/sparql/algebra/optimize/TestTransformFilterPlacement.java
b/jena-arq/src/test/java/com/hp/hpl/jena/sparql/algebra/optimize/TestTransformFilterPlacement.java
index f1b26eb..45cb1e1 100644
--- a/jena-arq/src/test/java/com/hp/hpl/jena/sparql/algebra/optimize/TestTransformFilterPlacement.java
+++ b/jena-arq/src/test/java/com/hp/hpl/jena/sparql/algebra/optimize/TestTransformFilterPlacement.java
@@ -377,7 +377,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
 
     @Test public void place_extend_04() {
         test("(filter (= ?x 123) (extend ((?x1 123)) (filter (< ?x 456) (bgp (?s ?p ?x)
(?s ?p ?z))) ))",
-             "(extend (?x1 123) (sequence (filter ((< ?x 456) (= ?x 123)) (bgp (?s ?p
?x))) (bgp (?s ?p ?z))) )") ;
+             "(extend (?x1 123) (sequence (filter ((= ?x 123) (< ?x 456)) (bgp (?s ?p
?x))) (bgp (?s ?p ?z))) )") ;
     }
 
     @Test public void place_extend_05() {
@@ -466,7 +466,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
     @Test public void place_assign_04() {
         // Caution - OpFilter equality is sensitive to the order of expressions 
         test("(filter (= ?x 123) (assign ((?x1 123)) (filter (< ?x 456) (bgp (?s ?p ?x)
(?s ?p ?z))) ))",
-             "(assign (?x1 123) (sequence (filter ((< ?x 456) (= ?x 123)) (bgp (?s ?p
?x))) (bgp (?s ?p ?z))) )") ;
+             "(assign (?x1 123) (sequence (filter ((= ?x 123) (< ?x 456)) (bgp (?s ?p
?x))) (bgp (?s ?p ?z))) )") ;
     }
     
     @Test public void place_assign_05() {
@@ -571,7 +571,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
              ,"  (sequence"
              ,"    (filter 1 (table unit))"
              , "   (bgp (triple ?s ?p ?o)))"
-             ,"  (filter (exprlist 0 1) (table unit))"
+             ,"  (filter (exprlist 1 0) (table unit))"
              ,")"
              );
         test(in, out) ;
@@ -588,7 +588,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
         String out = StrUtils.strjoinNL
             ("(union"
             ,"  (filter 1 (bgp (triple ?s ?p ?o)))"
-            ,"  (filter (exprlist 0 1) (table unit))"
+            ,"  (filter (exprlist 1 0) (table unit))"
             ,")"
             );
         testNoBGP(in, out) ;
@@ -612,7 +612,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
              ,"      (sequence"
              ,"         (filter 1 (table unit))"
              ,"         (bgp (?s ?p ?o)))"
-             ,"      (filter (exprlist 0 1)"
+             ,"      (filter (exprlist 1 0)"
              ,"        (table unit))"
              ,     ")"
              ,"))");
@@ -635,7 +635,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
             ,"  (project (?s ?p ?o)"
             ,"    (union"
             ,"      (filter 1 (bgp (?s ?p ?o)))"
-            ,"      (filter (exprlist 0 1) (table unit))"
+            ,"      (filter (exprlist 1 0) (table unit))"
             ,     ")"
             ,"))");
         testNoBGP(in, out) ;
@@ -656,7 +656,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
            ,"    (filter (= 1 1)"
            ,"      (table unit))"
            ,"    (bgp (triple ?s ?p ?o)))"
-           ,"  (filter (exprlist (!= 0 0) (= 1 1))"
+           ,"  (filter (exprlist (= 1 1) (!= 0 0))"
            ,"   (table unit)))"
               ) ;
         test ( in, out ) ;
@@ -674,7 +674,7 @@ public class TestTransformFilterPlacement extends BaseTest { //extends
AbstractT
             ("(union"
             ,"   (filter (= 1 1)"
             ,"     (bgp (triple ?s ?p ?o)))"
-            ,"   (filter (exprlist (!= 0 0) (= 1 1))"
+            ,"   (filter (exprlist (= 1 1) (!= 0 0))"
             ,"     (table unit)))"
             ) ;
         testNoBGP ( in, out ) ;


Mime
View raw message