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/04/14 15:15:05 UTC

[1/2] incubator-tinkerpop git commit: TINKERPOP3-630 Remove hard coded id from groovy script that causes graphs other then TinkerGraph to fail.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 13b936ec2 -> fe7c56c30


TINKERPOP3-630
Remove hard coded id from groovy script that causes graphs other then TinkerGraph to fail.


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

Branch: refs/heads/master
Commit: 58fde21c1703c526d88e329197a0039766d97250
Parents: cc0b848
Author: Bryn Cooke <br...@gmail.com>
Authored: Tue Apr 14 13:49:02 2015 +0100
Committer: Bryn Cooke <br...@gmail.com>
Committed: Tue Apr 14 13:49:02 2015 +0100

----------------------------------------------------------------------
 .../groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/58fde21c/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java b/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java
index 92bdf27..da24479 100644
--- a/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java
+++ b/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java
@@ -255,7 +255,7 @@ public class GremlinGroovyScriptEngineOverGraphTest extends AbstractGremlinTest
 
         }
 
-        assertEquals(true, engine.eval("def isMarko(v){v.value('name')=='marko'}; isMarko(g.V(1).next())", bindings));
+        assertEquals(true, engine.eval("def isMarko(v){v.value('name')=='marko'}; isMarko(g.V(" + convertToVertexId("marko") + ").next())", bindings));
 
         try {
             engine.eval("isMarko(g.V(" + convertToVertexId("marko") + ").next())", bindings);


[2/2] incubator-tinkerpop git commit: Merge branch 'TINKERPOP3-630' of https://github.com/BrynCooke/incubator-tinkerpop

Posted by sp...@apache.org.
Merge branch 'TINKERPOP3-630' of https://github.com/BrynCooke/incubator-tinkerpop


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

Branch: refs/heads/master
Commit: fe7c56c30ff1df0c5a100f930936a1c4a20ef3ea
Parents: 13b936e 58fde21
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Apr 14 09:09:16 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Apr 14 09:09:16 2015 -0400

----------------------------------------------------------------------
 .../groovy/jsr223/GremlinGroovyScriptEngineOverGraphTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------