Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorah <yoram.harmelin@gmail.com>2012-06-17 01:42:44 +0400
committernulltoken <emeric.fermas@gmail.com>2012-06-19 00:02:28 +0400
commitb6274a15fd2eab1a4213291decc22eee4ed44f88 (patch)
tree80ece286334f38d4027e06efca4ecc718812db05 /LibGit2Sharp/ContentChanges.cs
parent4a5000ba5ec4bc0be3a32755b4bfe3b0c80d655e (diff)
Make Changes, ContentChanges and TreeEntryChanges mockable
Diffstat (limited to 'LibGit2Sharp/ContentChanges.cs')
-rw-r--r--LibGit2Sharp/ContentChanges.cs6
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))