PHP Класс Bart\Git\CommitTest

Наследование: extends Bart\BaseTestCase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getStubCommit ( Bart\BaseTestCase $phpu, string $revision = 'HEAD', callable $configure = null ) : Commit Utility method to create a stub Commit for any tests that need one Custom expectations can be set via the $configure parameter
testAuthor ( )
testCommitProject ( )
testCommitter ( )
testJiras ( )
testMessageFull ( )
testMessageRawBody ( )
testMessageSubject ( )
testRawFileContentsReal ( )
testRawFileContentsStubbed ( )

Приватные методы

Метод Описание
stubGitRootForMessage ( string $message ) Sets up GitRoot stub to expect to be asked for this message at HEAD

Описание методов

getStubCommit() публичный статический Метод

Utility method to create a stub Commit for any tests that need one Custom expectations can be set via the $configure parameter
public static getStubCommit ( Bart\BaseTestCase $phpu, string $revision = 'HEAD', callable $configure = null ) : Commit
$phpu Bart\BaseTestCase
$revision string
$configure callable Shmock configuration function
Результат Commit

testAuthor() публичный Метод

public testAuthor ( )

testCommitProject() публичный Метод

public testCommitProject ( )

testCommitter() публичный Метод

public testCommitter ( )

testJiras() публичный Метод

public testJiras ( )

testMessageFull() публичный Метод

public testMessageFull ( )

testMessageRawBody() публичный Метод

public testMessageRawBody ( )

testMessageSubject() публичный Метод

public testMessageSubject ( )

testRawFileContentsReal() публичный Метод

testRawFileContentsStubbed() публичный Метод