Method | Description | |
---|---|---|
getStubCommit ( Bart\BaseTestCase $phpu, string $revision = 'HEAD', callable $configure = null ) : |
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 ( ) |
Method | Description | |
---|---|---|
stubGitRootForMessage ( string $message ) | Sets up GitRoot stub to expect to be asked for this message at HEAD |
public static getStubCommit ( Bart\BaseTestCase $phpu, string $revision = 'HEAD', callable $configure = null ) : |
||
$phpu | Bart\BaseTestCase | |
$revision | string | |
$configure | callable | Shmock configuration function |
return |