public void RevisionDiffProvider_normal2(string from, string to) { RevisionDiffProvider.Get(from, to).Should().Be("\"123456789\" \"HEAD\""); }
public void Setup() { _revisionDiffProvider = new RevisionDiffProvider(); }
public void RevisionDiffProvider_staged_to_head(string from, string to) { RevisionDiffProvider.Get(from, to).Should().Be("-R --cached \"HEAD\""); }
public void RevisionDiffProvider_head_to_unstaged(string from) { RevisionDiffProvider.Get(from, GitRevision.UnstagedGuid).Should().Be("\"HEAD\""); }
public void RevisionDiffProvider_unstaged_to_staged(string from, string to) { RevisionDiffProvider.Get(from, to).Should().Be("-R"); }
public void RevisionDiffProvider_should_return_cached_if_both_IndexGuid(string from) { RevisionDiffProvider.Get(from, GitRevision.IndexGuid).Should().Be("--cached --cached"); }
public void RevisionDiffProvider_should_return_empty_if_To_is_UnstagedGuid(string from) { RevisionDiffProvider.Get(from, GitRevision.UnstagedGuid).Should().BeEmpty(); }