PHP Класс Components_StoryTestCase, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends PHPUnit_Extensions_Story_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
runGiven ( &$world, string $action, array $arguments ) : mixed Handle a "given" step.
runThen ( &$world, string $action, array $arguments ) : mixed Handle a "then" step.
runWhen ( &$world, string $action, array $arguments ) : mixed Handle a "when" step.
tearDown ( )

Приватные методы

Метод Описание
_callComponents ( array $parameters, $callback )
_callStrict ( array $parameters )
_callStrictComponents ( array $parameters = [] )
_callUnstrict ( array $parameters )
_callUnstrictComponents ( array $parameters = [] )
_getTemporaryDirectory ( )
_rrmdir ( $dir )
_setPearGlobals ( )

Описание методов

runGiven() публичный Метод

Handle a "given" step.
public runGiven ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.

runThen() публичный Метод

Handle a "then" step.
public runThen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.

runWhen() публичный Метод

Handle a "when" step.
public runWhen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.

tearDown() публичный Метод

public tearDown ( )