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/09 19:31:24 UTC
[10/28] tinkerpop git commit: TINKERPOP-1857 Rebased and added new
union() test
TINKERPOP-1857 Rebased and added new union() test
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2f98ffac
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2f98ffac
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2f98ffac
Branch: refs/heads/TINKERPOP-1857
Commit: 2f98fface16d938caf6f035aa06098668665c9d4
Parents: 1c4a311
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 24 09:53:27 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Feb 9 14:30:58 2018 -0500
----------------------------------------------------------------------
gremlin-test/features/branch/Union.feature | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2f98ffac/gremlin-test/features/branch/Union.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/branch/Union.feature b/gremlin-test/features/branch/Union.feature
index 564e6b5..2380246 100644
--- a/gremlin-test/features/branch/Union.feature
+++ b/gremlin-test/features/branch/Union.feature
@@ -137,4 +137,18 @@ Feature: Step - union()
| d[1.9].d |
| d[0].i |
| d[0].l |
+ | d[1].l |
+
+ Scenario: g_VX1_2X_localXunionXcountXX
+ 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 the traversal of
+ """
+ g.V(v1Id, v2Id).local(union(count()))
+ """
+ When iterated to list
+ Then the result should be unordered
+ | result |
+ | d[1].l |
| d[1].l |
\ No newline at end of file