You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/03/09 22:13:04 UTC

incubator-tinkerpop git commit: Adjusted AbstractGremlinTest to use the "graph" variable instead of "g".

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/newapi ce0929f3d -> 0a972c6ab


Adjusted AbstractGremlinTest to use the "graph" variable instead of "g".


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

Branch: refs/heads/newapi
Commit: 0a972c6abf29d80760eb8175af20edf991c6e1c2
Parents: ce0929f
Author: Stephen Mallette <sp...@apache.org>
Authored: Mon Mar 9 17:12:33 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Mon Mar 9 17:12:33 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0a972c6a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/AbstractGremlinProcessTest.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/AbstractGremlinProcessTest.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/AbstractGremlinProcessTest.java
index 4d996d8..4cc7800 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/AbstractGremlinProcessTest.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/AbstractGremlinProcessTest.java
@@ -47,7 +47,7 @@ public abstract class AbstractGremlinProcessTest extends AbstractGremlinTest {
      * feature or if it does require the computer feature then ensure that the graph being tested supports it.
      */
     protected boolean graphMeetsTestRequirements() {
-        return !hasGraphComputerRequirement() || g.features().graph().supportsComputer();
+        return !hasGraphComputerRequirement() || graph.features().graph().supportsComputer();
     }
 
     private boolean hasGraphComputerRequirement() {