Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7DE63200D15 for ; Thu, 21 Sep 2017 00:39:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7C6FC1609E2; Wed, 20 Sep 2017 22:39:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BBFD81609E4 for ; Thu, 21 Sep 2017 00:39:44 +0200 (CEST) Received: (qmail 2291 invoked by uid 500); 20 Sep 2017 22:39:43 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 2272 invoked by uid 99); 20 Sep 2017 22:39:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Sep 2017 22:39:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 26C4AF5778; Wed, 20 Sep 2017 22:39:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: spmallette@apache.org To: commits@tinkerpop.apache.org Date: Wed, 20 Sep 2017 22:39:44 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/3] tinkerpop git commit: TINKERPOP-1784 Categorize feature by step type archived-at: Wed, 20 Sep 2017 22:39:45 -0000 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 Authored: Wed Sep 20 13:39:00 2017 -0400 Committer: Stephen Mallette 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