diff options
author | yorah <yoram.harmelin@gmail.com> | 2012-06-17 01:42:44 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-06-19 00:02:28 +0400 |
commit | b6274a15fd2eab1a4213291decc22eee4ed44f88 (patch) | |
tree | 80ece286334f38d4027e06efca4ecc718812db05 /LibGit2Sharp/ContentChanges.cs | |
parent | 4a5000ba5ec4bc0be3a32755b4bfe3b0c80d655e (diff) |
Make Changes, ContentChanges and TreeEntryChanges mockable
Diffstat (limited to 'LibGit2Sharp/ContentChanges.cs')
-rw-r--r-- | LibGit2Sharp/ContentChanges.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LibGit2Sharp/ContentChanges.cs b/LibGit2Sharp/ContentChanges.cs index 1d5466c7..0ee4782c 100644 --- a/LibGit2Sharp/ContentChanges.cs +++ b/LibGit2Sharp/ContentChanges.cs @@ -9,6 +9,12 @@ namespace LibGit2Sharp /// </summary> public class ContentChanges : Changes { + /// <summary> + /// Needed for mocking purposes. + /// </summary> + protected ContentChanges() + { } + internal ContentChanges(Repository repo, Blob oldBlob, Blob newBlob, GitDiffOptions options) { using (var osw1 = new ObjectSafeWrapper(oldBlob.Id, repo)) |