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 2018/05/30 10:53:08 UTC

[03/15] tinkerpop git commit: TINKERPOP-1968 Open up a formerly ignored test

TINKERPOP-1968 Open up a formerly ignored test


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

Branch: refs/heads/TINKERPOP-1968
Commit: f35d8590a139b1546af2b2ebd4cf94e09eda4942
Parents: 1789372
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon May 21 08:32:03 2018 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed May 30 06:52:49 2018 -0400

----------------------------------------------------------------------
 gremlin-test/features/map/Vertex.feature | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f35d8590/gremlin-test/features/map/Vertex.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/Vertex.feature b/gremlin-test/features/map/Vertex.feature
index 8642693..3f2a63b 100644
--- a/gremlin-test/features/map/Vertex.feature
+++ b/gremlin-test/features/map/Vertex.feature
@@ -449,12 +449,25 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), outE(), bothE()
       | v[vadas] |
       | v[josh] |
 
+  # this test deviates from the setup of the java test, but the intent is the same. the java test drops lop and then
+  # tries to query it as part of the group of ids. here, rather than drop, we simply use an id that doesn't exist
+  # which is simulated by an edge identifier.
   Scenario: g_VX1_2_3_4X_name
-    Given an unsupported test
-    Then nothing should happen because
+    Given the modern graph
+    And using the parameter v1Id defined as "v[marko].id"
+    And using the parameter v2Id defined as "v[vadas].id"
+    And using the parameter v3Id defined as "e[marko-knows->josh].id"
+    And using the parameter v4Id defined as "v[josh].id"
+    And the traversal of
       """
-      the test manipulates a static dataset which is not supported by the language of the feature files"
+      g.V(v1Id, v2Id, v3Id, v4Id).values("name")
       """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | marko |
+      | vadas |
+      | josh |
 
   Scenario: g_V_hasLabelXpersonX_V_hasLabelXsoftwareX_name
     Given the modern graph