PHP 클래스 Bart\Git\CommitTest

상속: extends Bart\BaseTestCase
파일 보기 프로젝트 열기: box/bart 1 사용 예제들

공개 메소드들

메소드 설명
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() 공개 메소드