tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [2/3] tinkerpop git commit: TINKERPOP-1784 Categorize feature by step type
Date Wed, 20 Sep 2017 22:39:44 GMT
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/fc034083
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/fc034083
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/fc034083

Branch: refs/heads/TINKERPOP-1784
Commit: fc034083e8e745f052f1b890b55af842daf059d4
Parents: bb6171f
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Wed Sep 20 13:39:00 2017 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Wed Sep 20 13:39:00 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/fc034083/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/fc034083/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


Mime
View raw message