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/20 19:07:17 UTC
[16/26] 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/c4fd3e13
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c4fd3e13
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c4fd3e13
Branch: refs/heads/tp32
Commit: c4fd3e13f48c5c0dec5d0827fea8f4af61b44a31
Parents: b2c79d6
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 24 08:08:10 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Feb 14 15:34:09 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/c4fd3e13/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