PHP Класс PhpBench\Tests\Unit\Environment\Provider\GitTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.