Repository: tinkerpop
Updated Branches:
  refs/heads/TRAVIS-TEST 232c9987f -> da252989e


bla


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

Branch: refs/heads/TRAVIS-TEST
Commit: da252989e2d507d6e77116311789dda643f57ed2
Parents: 232c998
Author: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Authored: Sun Mar 11 10:31:32 2018 -0700
Committer: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Committed: Sun Mar 11 10:31:32 2018 -0700

----------------------------------------------------------------------
 .../strategy/decoration/SubgraphStrategyProcessTest.java     | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/da252989/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
----------------------------------------------------------------------
diff --git 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
index 1cc6222..e7b6534 100644
--- 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
+++ 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
@@ -289,12 +289,20 @@ public class SubgraphStrategyProcessTest extends 
AbstractGremlinProcessTest {
         assertEquals(3, 
g.V(convertToVertexId("josh")).bothE().count().next().longValue());
         assertEquals(2, 
sg.V(convertToVertexId("josh")).bothE().count().next().longValue());
         assertEquals(3, 
g.V(convertToVertexId("josh")).both().count().next().longValue());*/
+/*
 final Traversal<Vertex, Long> t = 
sg.V(convertToVertexId("josh")).both().count();
 try {
         assertEquals(2, t.next().longValue());
 } catch (IllegalStateException ex) {
   throw new IllegalStateException(t.toString(), ex);
 }
+*/
+final Traversal<Vertex, Long> t = sg.V(convertToVertexId("josh")).both();
+try {
+        assertEquals(2, t.toList().size());
+} catch (IllegalStateException ex) {
+  throw new IllegalStateException(t.toString(), ex);
+}
         // marko not present directly because of vertexCriterion - only 
accessible via vertices in the subgraph
         assertEquals(1, 
g.V(convertToVertexId("marko")).count().next().longValue());
         assertEquals(0, 
sg.V(convertToVertexId("marko")).count().next().longValue());

Reply via email to