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 2017/10/16 15:20:51 UTC
[38/47] tinkerpop git commit: TINKERPOP-1784 Added some more vertex
tests
TINKERPOP-1784 Added some more vertex tests
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0273480e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0273480e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0273480e
Branch: refs/heads/TINKERPOP-1784
Commit: 0273480e412d15d2aeadf81c75d1b9284297cebe
Parents: fb3fc7f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Sep 28 10:29:47 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Oct 16 11:19:30 2017 -0400
----------------------------------------------------------------------
gremlin-test/features/map/Vertex.feature | 70 +++++++++++++++++++++++++--
1 file changed, 65 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0273480e/gremlin-test/features/map/Vertex.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/Vertex.feature b/gremlin-test/features/map/Vertex.feature
index fbd4168..5bed2a6 100644
--- a/gremlin-test/features/map/Vertex.feature
+++ b/gremlin-test/features/map/Vertex.feature
@@ -73,10 +73,10 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), outE(), bothE()
Scenario: g_VX2X_in
Given the modern graph
- And using the parameter v1 is "v[vadas]"
+ And using the parameter v2 is "v[vadas]"
And the traversal of
"""
- g.V(v1).in()
+ g.V(v2).in()
"""
When iterated to list
Then the result should be unordered
@@ -84,10 +84,10 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), outE(), bothE()
Scenario: g_VX4X_both
Given the modern graph
- And using the parameter v1 is "v[josh]"
+ And using the parameter v4 is "v[josh]"
And the traversal of
"""
- g.V(v1).both()
+ g.V(v4).both()
"""
When iterated to list
Then the result should be unordered
@@ -108,4 +108,64 @@ Feature: Step - V(), E(), out(), in(), both(), inE(), outE(), bothE()
| edge | marko-knows->vadas |
| edge | peter-created->lop |
| edge | josh-created->lop |
- | edge | josh-created->ripple |
\ No newline at end of file
+ | edge | josh-created->ripple |
+
+ Scenario: g_EX11X
+ Given the modern graph
+ And using the parameter e11 is "e[josh-created->lop]"
+ And the traversal of
+ """
+ g.E(e11)
+ """
+ When iterated to list
+ Then the result should be unordered
+ | edge | josh-created->lop |
+
+ Scenario: g_VX1X_outE
+ Given the modern graph
+ And using the parameter v1 is "v[marko]"
+ And the traversal of
+ """
+ g.V(v1).outE()
+ """
+ When iterated to list
+ Then the result should be unordered
+ | edge | marko-created->lop |
+ | edge | marko-knows->josh |
+ | edge | marko-knows->vadas |
+
+ Scenario: g_VX2X_outE
+ Given the modern graph
+ And using the parameter v2 is "v[vadas]"
+ And the traversal of
+ """
+ g.V(v2).inE()
+ """
+ When iterated to list
+ Then the result should be unordered
+ | edge | marko-knows->vadas |
+
+ Scenario: g_VX4X_bothEXcreatedX
+ Given the modern graph
+ And using the parameter v4 is "v[josh]"
+ And the traversal of
+ """
+ g.V(v4).bothE("created")
+ """
+ When iterated to list
+ Then the result should be unordered
+ | edge | josh-created->lop |
+ | edge | josh-created->ripple |
+
+ Scenario: g_VX4X_bothE
+ Given the modern graph
+ And using the parameter v4 is "v[josh]"
+ And the traversal of
+ """
+ g.V(v4).bothE()
+ """
+ When iterated to list
+ Then the result should be unordered
+ | edge | josh-created->lop |
+ | edge | josh-created->ripple |
+ | edge | marko-knows->josh |