PHP 클래스 SensioLabs\AstRunner\Tests\Command\SelfUpdateCommandTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: sensiolabs-de/deptrac

공개 메소드들

메소드 설명
testUpdateFail ( ) Tests the command status is 1 (fail) if the update fails
testUpdateSuccess ( $isPharOutdated ) Tests the command status is 0 (success) if the update success or is not necessary
testUpdateSuccessProvider ( )

비공개 메소드들

메소드 설명
getContainerWithUpdater ( Humbug\SelfUpdate\Updater $updater )

메소드 상세

testUpdateFail() 공개 메소드

Tests the command status is 1 (fail) if the update fails
public testUpdateFail ( )

testUpdateSuccess() 공개 메소드

Tests the command status is 0 (success) if the update success or is not necessary
public testUpdateSuccess ( $isPharOutdated )
$isPharOutdated

testUpdateSuccessProvider() 공개 메소드