blob: 751a782e4301035c2f93347f0b4c3227428f34d2 [file] [log] [blame]
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright 2015 Oracle and/or its affiliates. All rights reserved.
#
# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
# Other names may be trademarks of their respective owners.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common
# Development and Distribution License("CDDL") (collectively, the
# "License"). You may not use this file except in compliance with the
# License. You can obtain a copy of the License at
# http://www.netbeans.org/cddl-gplv2.html
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
# specific language governing permissions and limitations under the
# License. When distributing the software, include this License Header
# Notice in each file and include the License file at
# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the GPL Version 2 section of the License file that
# accompanied this code. If applicable, add the following below the
# License Header, with the fields enclosed by brackets [] replaced by
# your own identifying information:
# "Portions Copyrighted [year] [name of copyright owner]"
#
# If you wish your version of this file to be governed by only the CDDL
# or only the GPL Version 2, indicate your decision by adding
# "[Contributor] elects to include this software in this distribution
# under the [CDDL or GPL Version 2] license." If you do not indicate a
# single choice of license, a recipient has the option to distribute
# your version of this file under either the CDDL, the GPL Version 2 or
# to extend the choice of license to its licensees as provided above.
# However, if you add GPL Version 2 code and therefore, elected the GPL
# Version 2 license, then the option applies only if the new code is
# made subject to such option by the copyright holder.
#
# Contributor(s):
#
# Portions Copyrighted 2015 Sun Microsystems, Inc.
CodeceptionAnnotationsProvider.name=Codeception
EnvTag.documentation=<p style="font-weight: bold; font-size: 1.2em">@env</p><p style="font-weight: bold; font-size: 1.1em">\u8aac\u660e</p><p>\u671b\u307e\u3057\u3044\u74b0\u5883\u306f\u3001\u30c6\u30b9\u30c8\u306e<code>@env</code>\u6ce8\u91c8\u3067Test and Cest\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059</p><p style="font-weight: bold; font-size: 1.1em">\u4f8b</p><pre><code>\n/**\n * This test will be executed only in 'firefox' and 'phantom' environments\n *\n * @env firefox\n * @env phantom\n */\npublic function webkitOnlyTest(AcceptanceTester $I)\n{\n // I do something\n}\n</code></pre>
DependsTag.documentation=<p style="font-weight: bold; font-size: 1.2em">@depends</p><p style="font-weight: bold; font-size: 1.1em">\u8aac\u660e</p><p><code>@depends</code>\u6ce8\u91c8\u3067\u3001\u73fe\u5728\u306e\u30c6\u30b9\u30c8\u306e\u524d\u306b\u6210\u529f\u3059\u308b\u5fc5\u8981\u306e\u3042\u308b\u30c6\u30b9\u30c8\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u3001\u73fe\u5728\u306e\u30c6\u30b9\u30c8\u306f\u30b9\u30ad\u30c3\u30d7\u3055\u308c\u307e\u3059\u3002\u4f9d\u5b58\u3059\u308b\u30c6\u30b9\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u540d\u3092\u6e21\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002</p><p style="font-weight: bold; font-size: 1.1em">Example</p><pre><code>\n<?php\nclass ModeratorCest {\n public function login(AcceptanceTester $I)\n {\n // logs moderator in\n }\n /**\n * @depends login\n */\n public function banUser(AcceptanceTester $I)\n {\n // bans user\n }\n}\n?>\n</code></pre>\n<p>\u30d2\u30f3\u30c8: <code>@depends</code>\u306f<code>@before</code>\u3068\u7d44\u307f\u5408\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002</p>