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/02/01 15:31:00 UTC

[49/50] [abbrv] tinkerpop git commit: TINKERPOP-1857 Got range() GLV tests all in place

TINKERPOP-1857 Got range() GLV tests all in place


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

Branch: refs/heads/TINKERPOP-1857
Commit: c69b8de6eac1aeb0371dbad11d71b4113de75901
Parents: 3a03184
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 24 08:08:10 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Feb 1 08:14:57 2018 -0500

----------------------------------------------------------------------
 gremlin-test/features/filter/Range.feature | 30 ++++++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c69b8de6/gremlin-test/features/filter/Range.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/filter/Range.feature b/gremlin-test/features/filter/Range.feature
index 42e2f9a..066960a 100644
--- a/gremlin-test/features/filter/Range.feature
+++ b/gremlin-test/features/filter/Range.feature
@@ -90,7 +90,7 @@ Feature: Step - range()
       | v[peter] |
     And the result should have a count of 2
 
-  Scenario: get_g_VX1X_outXcreatedX_inEXcreatedX_rangeX1_3X_outV
+  Scenario: g_VX1X_outXcreatedX_inEXcreatedX_rangeX1_3X_outV
     Given the modern graph
     And using the parameter v1Id defined as "v[marko].id"
     And the traversal of
@@ -105,7 +105,7 @@ Feature: Step - range()
       | v[peter] |
     And the result should have a count of 2
 
-  Scenario: get_g_V_repeatXbothX_timesX3X_rangeX5_11X
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
     Given the modern graph
     And the traversal of
       """
@@ -225,4 +225,28 @@ Feature: Step - range()
     Then the result should be unordered
       | result |
       | m[{"b":"josh"}] |
-      | m[{"b":"josh"}] |
\ No newline at end of file
+      | m[{"b":"josh"}] |
+
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
+    Given the modern graph
+    And the traversal of
+      """
+      g.V().repeat(both()).times(3).range(5, 11)
+      """
+    When iterated to list
+    Then the result should be ordered
+      | result |
+      | d[6].l |
+
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
+    Given the modern graph
+    And using the parameter v1Id defined as "v[marko].id"
+    And the traversal of
+      """
+      g.V(v1Id).out("created").inE("created").range(1, 3).outV()
+      """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | v[marko] |
+      | v[ripple] |
\ No newline at end of file