You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by jo...@apache.org on 2017/11/23 09:20:47 UTC
[09/50] [abbrv] tinkerpop git commit: TINKERPOP-1784 Added
properties() feature tests
TINKERPOP-1784 Added properties() feature tests
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/447e57c2
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/447e57c2
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/447e57c2
Branch: refs/heads/TINKERPOP-1489
Commit: 447e57c2e2bad029ead63de2227b12db708cbd85
Parents: c7347ab
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Nov 10 14:31:20 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Nov 21 15:52:53 2017 -0500
----------------------------------------------------------------------
gremlin-test/features/map/Properties.feature | 68 +++++++++++++++++++++++
1 file changed, 68 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/447e57c2/gremlin-test/features/map/Properties.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/Properties.feature b/gremlin-test/features/map/Properties.feature
new file mode 100644
index 0000000..35ccd77
--- /dev/null
+++ b/gremlin-test/features/map/Properties.feature
@@ -0,0 +1,68 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+Feature: Step - properties()
+
+ Scenario: g_V_hasXageX_propertiesXname_ageX_value
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().has("age").properties("name", "age").value()
+ """
+ When iterated to list
+ Then the result should be unordered
+ | result |
+ | marko |
+ | d[29] |
+ | vadas |
+ | d[27] |
+ | josh |
+ | d[32] |
+ | peter |
+ | d[35] |
+
+ Scenario: g_V_hasXageX_propertiesXage_nameX_value
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().has("age").properties("age", "name").value()
+ """
+ When iterated to list
+ Then the result should be unordered
+ | result |
+ | marko |
+ | d[29] |
+ | vadas |
+ | d[27] |
+ | josh |
+ | d[32] |
+ | peter |
+ | d[35] |
+
+ Scenario: g_V_hasXageX_properties_hasXid_nameIdX_value
+ Given an unsupported test
+ Then nothing should happen because
+ """
+ There is no way to currently get property identifiers on elements.
+ """
+
+ Scenario: g_V_hasXageX_propertiesXnameX
+ Given an unsupported test
+ Then nothing should happen because
+ """
+ There is no way to currently assert property elements in the test logic.
+ """