You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/02/11 20:45:16 UTC

[10/15] incubator-tinkerpop git commit: Just realized that numerous tests are excluded because local traversals are being verified as global in ComputerVerificationStrategy. Given that TraversalEngine no longer exists, added TraversalParent.isLocalChild(

Just realized that numerous tests are excluded because local traversals are being verified as global in ComputerVerificationStrategy. Given that TraversalEngine no longer exists, added TraversalParent.isLocalChild() to test if the child is local or global and updated ComputerVerificationStrategy accordingly.


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

Branch: refs/heads/master
Commit: cdfebf07e7c91a763b4c690e0c62848d26fa0432
Parents: 5f1cbd9
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue Feb 9 09:05:23 2016 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue Feb 9 09:05:23 2016 -0700

----------------------------------------------------------------------
 .../tinkerpop/gremlin/process/traversal/step/TraversalParent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/cdfebf07/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
index 904124c..74e95e9 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
@@ -61,7 +61,7 @@ public interface TraversalParent {
     }
 
     public default boolean isGlobalChild(final Traversal.Admin<?, ?> child) {
-        return this.getLocalChildren().contains(child);
+        return this.getGlobalChildren().contains(child);
     }
 
     public default Set<TraverserRequirement> getSelfAndChildRequirements(final TraverserRequirement... selfRequirements) {