PHP Class PhpBench\Tests\System\SystemTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: dantleech/phpbench Class Usage Examples

Protected Properties

Property Type Description
$filesystem
$fname
$workspaceDir

Public Methods

Method Description
clearStorage ( ) TODO: We should be using a generic temporary environment here as provided by PhpBench\Tests\Util\Workspace however this requires futher refactoring of the tests.
createResult ( $benchmark = null, $extraCmd = '' )
phpbench ( $command, $cwd = null )
setUp ( )

Protected Methods

Method Description
assertExitCode ( $expected, Process $process )
assertXPathCount ( $count, $xmlString, $query )
assertXPathExpression ( $expected, $xmlString, $expression )
getWorkingDir ( )

Method Details

assertExitCode() protected method

protected assertExitCode ( $expected, Process $process )
$process Symfony\Component\Process\Process

assertXPathCount() protected method

protected assertXPathCount ( $count, $xmlString, $query )

assertXPathExpression() protected method

protected assertXPathExpression ( $expected, $xmlString, $expression )

clearStorage() public method

TODO: We should be using a generic temporary environment here as provided by PhpBench\Tests\Util\Workspace however this requires futher refactoring of the tests.
public clearStorage ( )

createResult() public method

public createResult ( $benchmark = null, $extraCmd = '' )

getWorkingDir() protected method

protected getWorkingDir ( )

phpbench() public method

public phpbench ( $command, $cwd = null )

setUp() public method

public setUp ( )

Property Details

$filesystem protected_oe property

protected $filesystem

$fname protected_oe property

protected $fname

$workspaceDir protected_oe property

protected $workspaceDir