PHP Class PhpBench\Tests\Unit\Console\Command\UpdateCommandTest

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

Méthodes publiques

Méthode Description
setUp ( )
testUpdate ( ) It should update the PHAR.
testUpdateNotRequired ( ) It should show a message if no update is required.
testUpdateRollback ( ) It should rollback.
testUpdateRollbackError ( ) It should show an error if it could not roll back.

Method Details

setUp() public méthode

public setUp ( )

testUpdate() public méthode

It should update the PHAR.
public testUpdate ( )

testUpdateNotRequired() public méthode

It should show a message if no update is required.

testUpdateRollback() public méthode

It should rollback.
public testUpdateRollback ( )

testUpdateRollbackError() public méthode

It should show an error if it could not roll back.