PHP 클래스 PhpBench\Tests\Unit\Console\Command\UpdateCommandTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
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.

메소드 상세

setUp() 공개 메소드

public setUp ( )

testUpdate() 공개 메소드

It should update the PHAR.
public testUpdate ( )

testUpdateNotRequired() 공개 메소드

It should show a message if no update is required.

testUpdateRollback() 공개 메소드

It should rollback.
public testUpdateRollback ( )

testUpdateRollbackError() 공개 메소드

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