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:31 UTC
[18/47] tinkerpop git commit: TINKERPOP-1784 Categorize feature by
step type
TINKERPOP-1784 Categorize feature by step type
This matches he pattern of the java test suite.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/84fb552f
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/84fb552f
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/84fb552f
Branch: refs/heads/TINKERPOP-1784
Commit: 84fb552ff9620696bd17a9085ff3191efa1c7833
Parents: b835a60
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Sep 20 13:39:00 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Oct 16 11:19:29 2017 -0400
----------------------------------------------------------------------
gremlin-test/features/Count.feature | 54 ----------------------------
gremlin-test/features/map/Count.feature | 54 ++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 54 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/84fb552f/gremlin-test/features/Count.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/Count.feature b/gremlin-test/features/Count.feature
deleted file mode 100644
index 383eecf..0000000
--- a/gremlin-test/features/Count.feature
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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: Count Step
-
- Scenario: Count all vertices
- Given the modern graph
- And the traversal of
- """
- g.V().count()
- """
- When iterating
- Then the result should be 6
-
- Scenario: Count vertices after traversing both() twice
- Given the modern graph
- And the traversal of
- """
- g.V().both().both().count()
- """
- When iterating
- Then the result should be 30
-
- Scenario: Count local
- Given the modern graph
- And the traversal of
- """
- g.V().fold().count(Scope.local)
- """
- When iterating
- Then the result should be 6
-
- Scenario: Count no vertices
- Given the modern graph
- And the traversal of
- """
- g.V().has("no").count()
- """
- When iterating
- Then the result should be 0
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/84fb552f/gremlin-test/features/map/Count.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/Count.feature b/gremlin-test/features/map/Count.feature
new file mode 100644
index 0000000..383eecf
--- /dev/null
+++ b/gremlin-test/features/map/Count.feature
@@ -0,0 +1,54 @@
+# 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: Count Step
+
+ Scenario: Count all vertices
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().count()
+ """
+ When iterating
+ Then the result should be 6
+
+ Scenario: Count vertices after traversing both() twice
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().both().both().count()
+ """
+ When iterating
+ Then the result should be 30
+
+ Scenario: Count local
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().fold().count(Scope.local)
+ """
+ When iterating
+ Then the result should be 6
+
+ Scenario: Count no vertices
+ Given the modern graph
+ And the traversal of
+ """
+ g.V().has("no").count()
+ """
+ When iterating
+ Then the result should be 0
\ No newline at end of file