PHP Class 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.
Inheritance: extends PHPUnit_Extensions_Story_TestCase
Show file Open project: horde/horde

Public Methods

Method Description
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 ( )

Private Methods

Method Description
_callComponents ( array $parameters, $callback )
_callStrict ( array $parameters )
_callStrictComponents ( array $parameters = [] )
_callUnstrict ( array $parameters )
_callUnstrictComponents ( array $parameters = [] )
_getTemporaryDirectory ( )
_rrmdir ( $dir )
_setPearGlobals ( )

Method Details

runGiven() public method

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.
return mixed The outcome of the step.

runThen() public method

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.
return mixed The outcome of the step.

runWhen() public method

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.
return mixed The outcome of the step.

tearDown() public method

public tearDown ( )