PHP Class PhpBench\Tests\System\SystemTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Protected Properties

Свойство Type Description
$filesystem
$fname
$workspaceDir

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

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

Method Details

assertExitCode() protected méthode

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

assertXPathCount() protected méthode

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

assertXPathExpression() protected méthode

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

clearStorage() public méthode

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 méthode

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

getWorkingDir() protected méthode

protected getWorkingDir ( )

phpbench() public méthode

public phpbench ( $command, $cwd = null )

setUp() public méthode

public setUp ( )

Property Details

$filesystem protected_oe property

protected $filesystem

$fname protected_oe property

protected $fname

$workspaceDir protected_oe property

protected $workspaceDir