public void GetRenameableLocalBranches_must_return_branches_names() { var grl = new GitRefListsForRevision(_revision); grl.GetRenameableLocalBranches().Should().BeEquivalentTo(_refs[1]); }
public void GetDeletableRefs_must_return_branches_names() { var grl = new GitRefListsForRevision(_revision); grl.GetDeletableRefs("branch1").Should().BeEquivalentTo(_refs[2], _refs[0]); }
public void AllTags_must_return_all_revision_tags() { var grl = new GitRefListsForRevision(_revision); grl.AllTags.Count.Should().Be(1); }
public void GetAllTagNames_must_return_branches_names() { var grl = new GitRefListsForRevision(_revision); grl.GetAllTagNames().Should().BeEquivalentTo("tag1"); }
public void AllBranches_must_return_all_revision_branches() { var grl = new GitRefListsForRevision(_revision); grl.AllBranches.Count.Should().Be(2); }