Method | Description | |
---|---|---|
addRemoteDataProvider ( ) | ||
getRemoteUrlDataProvider ( ) | ||
getWorkingCopy ( string $directory = self::WORKING_DIR ) : |
Clones the local repo and returns an initialized GitWorkingCopy object. | |
setUp ( ) | Creates and initializes the local repository used for testing. | |
tearDown ( ) | Removes the local repository. | |
testAddRemote ( $options, $asserts ) | ||
testCallError ( ) | ||
testClearOutput ( ) | ||
testCommitWithAuthor ( ) | ||
testFetchAll ( ) | ||
testGetBranches ( ) | ||
testGetOutput ( ) | ||
testGetRemote ( ) | ||
testGetRemoteUrl ( $remote, $operation, $expected ) | ||
testGetRemotes ( ) | ||
testGitAdd ( ) | ||
testGitApply ( ) | ||
testGitArchive ( ) | ||
testGitBisect ( ) | ||
testGitBranch ( ) | ||
testGitClean ( ) | ||
testGitConfig ( ) | ||
testGitDiff ( ) | ||
testGitGrep ( ) | ||
testGitLog ( ) | ||
testGitMv ( ) | ||
testGitPull ( ) | ||
testGitPullErrorWithEmptyErrorOutput ( ) | This tests an odd case where sometimes even though a command fails and an exception is thrown the result of Process::getErrorOutput() is empty because the output is sent to STDOUT instead of STDERR. So there's a code path in GitProcess::run() to check the output from Process::getErrorOutput() and if it's empty use the result from Process::getOutput() instead | |
testGitRemote ( ) | ||
testGitReset ( ) | ||
testGitRm ( ) | ||
testGitShow ( ) | ||
testGitStatus ( ) | ||
testGitTag ( ) | ||
testHasChanges ( ) | ||
testHasRemote ( ) | ||
testIsAhead ( ) | ||
testIsBehind ( ) | ||
testIsCloned ( ) | ||
testIsTracking ( ) | ||
testIsUpToDate ( ) | ||
testLiveOutput ( ) | ||
testMerge ( ) | ||
testNeedsMerge ( ) | ||
testOutputListener ( ) | ||
testRebase ( ) | ||
testRemoveRemote ( ) |
Method | Description | |
---|---|---|
assertGitTag ( |
||
assertNoGitTag ( |
||
assertNoRemoteBranch ( |
||
assertNoRemoteBranches ( |
||
assertNoRemoteMaster ( |
||
assertRemoteBranch ( |
||
assertRemoteBranches ( |
||
assertRemoteMaster ( |
||
createRemote ( ) |
protected assertGitTag ( |
||
$repository |
protected assertNoGitTag ( |
||
$repository |
protected assertNoRemoteBranch ( |
||
$repository |
protected assertNoRemoteBranches ( |
||
$repository |
protected assertNoRemoteMaster ( |
||
$repository |
protected assertRemoteBranch ( |
||
$repository |
protected assertRemoteBranches ( |
||
$repository |
protected assertRemoteMaster ( |
||
$repository |
public getWorkingCopy ( string $directory = self::WORKING_DIR ) : |
||
$directory | string | The directory that the repository is being cloned to, defaults to "test/wc". |
return |
public setUp ( ) |
public testGitPullErrorWithEmptyErrorOutput ( ) |