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:
authorJameson Miller <jamill@microsoft.com>2014-05-04 08:54:22 +0400
committernulltoken <emeric.fermas@gmail.com>2014-05-14 14:37:11 +0400
commit10ae2aa0d21c03fcc7d07bce17ebc7fc702dce19 (patch)
treec64a58832bd084bb12c3979c650f8a526705cbb7 /LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
parent469e6da79c9e83fad9cab001b3e6f4bc0c56fc89 (diff)
Continue implementing revert
Diffstat (limited to 'LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
index c4514e3c..5dfa5b12 100644
--- a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
+++ b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
@@ -30,6 +30,7 @@ namespace LibGit2Sharp.Tests.TestHelpers
public static string ShallowTestRepoPath { get; private set; }
public static string MergedTestRepoWorkingDirPath { get; private set; }
public static string MergeTestRepoWorkingDirPath { get; private set; }
+ public static string RevertTestRepoWorkingDirPath { get; private set; }
public static string SubmoduleTestRepoWorkingDirPath { get; private set; }
public static DirectoryInfo ResourcesDirectory { get; private set; }
@@ -63,6 +64,7 @@ namespace LibGit2Sharp.Tests.TestHelpers
ShallowTestRepoPath = Path.Combine(ResourcesDirectory.FullName, "shallow.git");
MergedTestRepoWorkingDirPath = Path.Combine(ResourcesDirectory.FullName, "mergedrepo_wd");
MergeTestRepoWorkingDirPath = Path.Combine(ResourcesDirectory.FullName, "merge_testrepo_wd");
+ RevertTestRepoWorkingDirPath = Path.Combine(ResourcesDirectory.FullName, "revert_testrepo_wd");
SubmoduleTestRepoWorkingDirPath = Path.Combine(ResourcesDirectory.FullName, "submodule_wd");
}
@@ -129,6 +131,11 @@ namespace LibGit2Sharp.Tests.TestHelpers
return Clone(MergeTestRepoWorkingDirPath);
}
+ protected string CloneRevertTestRepo()
+ {
+ return Clone(RevertTestRepoWorkingDirPath);
+ }
+
public string CloneSubmoduleTestRepo()
{
var submoduleTarget = Path.Combine(ResourcesDirectory.FullName, "submodule_target_wd");