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:
authornulltoken <emeric.fermas@gmail.com>2015-01-02 23:29:08 +0300
committernulltoken <emeric.fermas@gmail.com>2015-01-04 23:14:32 +0300
commit7e5785871e4cebd3c18202263d8fb75a26e55eea (patch)
treed3d0c64740ad6d76ae594faf17d5be18a0cd907c /LibGit2Sharp.Tests/ResetIndexFixture.cs
parent56633ebfa7c8e6b1e30762e8b543d83d1e0ea102 (diff)
Rename Clone() test helper method in Sandbox()
Diffstat (limited to 'LibGit2Sharp.Tests/ResetIndexFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/ResetIndexFixture.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/LibGit2Sharp.Tests/ResetIndexFixture.cs b/LibGit2Sharp.Tests/ResetIndexFixture.cs
index ebfdd20f..333b3403 100644
--- a/LibGit2Sharp.Tests/ResetIndexFixture.cs
+++ b/LibGit2Sharp.Tests/ResetIndexFixture.cs
@@ -61,7 +61,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void ResetTheIndexWithTheHeadUnstagesEverything()
{
- string path = CloneStandardTestRepo();
+ string path = SandboxStandardTestRepo();
using (var repo = new Repository(path))
{
RepositoryStatus oldStatus = repo.RetrieveStatus();
@@ -82,7 +82,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTheIndexToTheContentOfACommitWithCommittishAsArgument()
{
- string path = CloneStandardTestRepo();
+ string path = SandboxStandardTestRepo();
using (var repo = new Repository(path))
{
repo.Reset("be3563a");
@@ -100,7 +100,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTheIndexToTheContentOfACommitWithCommitAsArgument()
{
- string path = CloneStandardTestRepo();
+ string path = SandboxStandardTestRepo();
using (var repo = new Repository(path))
{
repo.Reset(repo.Lookup<Commit>("be3563a"));
@@ -118,7 +118,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTheIndexToASubsetOfTheContentOfACommitWithCommittishAsArgument()
{
- string path = CloneStandardTestRepo();
+ string path = SandboxStandardTestRepo();
using (var repo = new Repository(path))
{
repo.Reset("5b5b025", new[]{ "new.txt" });
@@ -131,7 +131,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTheIndexToASubsetOfTheContentOfACommitWithCommitAsArgumentAndLaxUnmatchedExplicitPathsValidation()
{
- string path = CloneStandardTestRepo();
+ string path = SandboxStandardTestRepo();
using (var repo = new Repository(path))
{
repo.Reset(repo.Lookup<Commit>("5b5b025"), new[] { "new.txt", "non-existent-path-28.txt" },
@@ -145,7 +145,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void ResettingTheIndexToASubsetOfTheContentOfACommitWithCommitAsArgumentAndStrictUnmatchedPathspecsValidationThrows()
{
- using (var repo = new Repository(CloneStandardTestRepo()))
+ using (var repo = new Repository(SandboxStandardTestRepo()))
{
Assert.Throws<UnmatchedPathException>(() =>
repo.Reset(repo.Lookup<Commit>("5b5b025"), new[] { "new.txt", "non-existent-path-28.txt" }, new ExplicitPathsOptions()));
@@ -155,7 +155,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTheIndexWhenARenameExists()
{
- using (var repo = new Repository(CloneStandardTestRepo()))
+ using (var repo = new Repository(SandboxStandardTestRepo()))
{
repo.Move("branch_file.txt", "renamed_branch_file.txt");
repo.Reset(repo.Lookup<Commit>("32eab9c"));
@@ -168,7 +168,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetSourceOfARenameInIndex()
{
- using (var repo = new Repository(CloneStandardTestRepo()))
+ using (var repo = new Repository(SandboxStandardTestRepo()))
{
repo.Move("branch_file.txt", "renamed_branch_file.txt");
@@ -189,7 +189,7 @@ namespace LibGit2Sharp.Tests
[Fact]
public void CanResetTargetOfARenameInIndex()
{
- using (var repo = new Repository(CloneStandardTestRepo()))
+ using (var repo = new Repository(SandboxStandardTestRepo()))
{
repo.Move("branch_file.txt", "renamed_branch_file.txt");