PHP 클래스 PhpBench\Tests\Unit\Environment\Provider\GitTest

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

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testGetVcsBranch ( ) It should show the branch.
testGetVcsCommitsh ( ) It should show the commitsh.
testGetVcsInformation ( ) It should return the VCS information for the current git repository.
testIsApplicable ( ) It should return TRUE if the CWD is a git repository.
testIsNotApplicable ( ) It should return FALSE if the CWD is not a git repository.
testNotApplicableIfGitNotFound ( ) It should not be applicable if GIT is not available.

비공개 메소드들

메소드 설명
clean ( )
exec ( $cmd )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testGetVcsBranch() 공개 메소드

It should show the branch.
public testGetVcsBranch ( )

testGetVcsCommitsh() 공개 메소드

It should show the commitsh.
public testGetVcsCommitsh ( )

testGetVcsInformation() 공개 메소드

It should return the VCS information for the current git repository.

testIsApplicable() 공개 메소드

It should return TRUE if the CWD is a git repository.
public testIsApplicable ( )

testIsNotApplicable() 공개 메소드

It should return FALSE if the CWD is not a git repository.
public testIsNotApplicable ( )

testNotApplicableIfGitNotFound() 공개 메소드

It should not be applicable if GIT is not available.