diff options
author | nulltoken <emeric.fermas@gmail.com> | 2015-01-02 23:29:08 +0300 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2015-01-04 23:14:32 +0300 |
commit | 7e5785871e4cebd3c18202263d8fb75a26e55eea (patch) | |
tree | d3d0c64740ad6d76ae594faf17d5be18a0cd907c /LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs | |
parent | 56633ebfa7c8e6b1e30762e8b543d83d1e0ea102 (diff) |
Rename Clone() test helper method in Sandbox()
Diffstat (limited to 'LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs')
-rw-r--r-- | LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs index 39c897a4..c3dea962 100644 --- a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs +++ b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs @@ -120,43 +120,43 @@ namespace LibGit2Sharp.Tests.TestHelpers return new SelfCleaningDirectory(this, path); } - protected string CloneBareTestRepo() + protected string SandboxBareTestRepo() { - return Clone(BareTestRepoPath); + return Sandbox(BareTestRepoPath); } - protected string CloneStandardTestRepo() + protected string SandboxStandardTestRepo() { - return Clone(StandardTestRepoWorkingDirPath); + return Sandbox(StandardTestRepoWorkingDirPath); } - protected string CloneMergedTestRepo() + protected string SandboxMergedTestRepo() { - return Clone(MergedTestRepoWorkingDirPath); + return Sandbox(MergedTestRepoWorkingDirPath); } - protected string CloneMergeRenamesTestRepo() + protected string SandboxMergeRenamesTestRepo() { - return Clone(MergeRenamesTestRepoWorkingDirPath); + return Sandbox(MergeRenamesTestRepoWorkingDirPath); } - protected string CloneMergeTestRepo() + protected string SandboxMergeTestRepo() { - return Clone(MergeTestRepoWorkingDirPath); + return Sandbox(MergeTestRepoWorkingDirPath); } - protected string CloneRevertTestRepo() + protected string SandboxRevertTestRepo() { - return Clone(RevertTestRepoWorkingDirPath); + return Sandbox(RevertTestRepoWorkingDirPath); } - public string CloneSubmoduleTestRepo() + public string SandboxSubmoduleTestRepo() { var submoduleTarget = Path.Combine(ResourcesDirectory.FullName, "submodule_target_wd"); - return Clone(SubmoduleTestRepoWorkingDirPath, submoduleTarget); + return Sandbox(SubmoduleTestRepoWorkingDirPath, submoduleTarget); } - private string Clone(string sourceDirectoryPath, params string[] additionalSourcePaths) + private string Sandbox(string sourceDirectoryPath, params string[] additionalSourcePaths) { var scd = BuildSelfCleaningDirectory(); var source = new DirectoryInfo(sourceDirectoryPath); |