public GetAllBranchesWhichContainGivenCommit ( string sha1, bool getLocal, bool getRemote ) : IEnumerable |
||
sha1 | string | The sha1. |
getLocal | bool | Pass true to include local branches |
getRemote | bool | Pass true to include remote branches |
return | IEnumerable |
public void GetAllBranchesWhichContainGivenCommitTestReturnsEmptyList() { var module = new GitModule(""); var actualResult = module.GetAllBranchesWhichContainGivenCommit("fakesha1", false, false); Assert.IsNotNull(actualResult); Assert.IsTrue(!actualResult.Any()); }