diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-01-24 14:02:45 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-01-24 23:21:28 +0400 |
commit | 91990fbb384c5a2be8128b6393121abc4c15f5dc (patch) | |
tree | 226d362c59415a30422736650c571fbf20d2bd0f | |
parent | 8580f18edfd311e5f16d795a4a533c59df88a758 (diff) |
Update test repository with libgit2 logo
-rw-r--r-- | LibGit2Sharp.Tests/BranchFixture.cs | 2 | ||||
-rw-r--r-- | LibGit2Sharp.Tests/CheckoutFixture.cs | 13 | ||||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/logs/refs/heads/logo | 2 | ||||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/0a/99448e920a3615f33273047412949d09015ff8 | bin | 0 -> 186 bytes | |||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a0/5af239478ccff5315f6ab78c00a8ee88aa3cbb | bin | 180 -> 0 bytes | |||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a4/47ba2ca8fffd46dece72f7db6faf324afb8fcd | bin | 0 -> 157 bytes | |||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/b7/58c5bc1c8117c2a4c545dae2903e36360501c5 | bin | 0 -> 12482 bytes | |||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/be/5028b2f245165f015927020e41247f8a3c0dfe | bin | 73733 -> 0 bytes | |||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/f3/7d751802fa49ac4b6abd21d8298fc5a20231ea | 1 | ||||
-rw-r--r-- | LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/refs/heads/logo | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/LibGit2Sharp.Tests/BranchFixture.cs b/LibGit2Sharp.Tests/BranchFixture.cs index ac5e407c..5e6fbea8 100644 --- a/LibGit2Sharp.Tests/BranchFixture.cs +++ b/LibGit2Sharp.Tests/BranchFixture.cs @@ -213,7 +213,7 @@ namespace LibGit2Sharp.Tests { new { Name = "diff-test-cases", Sha = "e7039e6d0e7dd4d4c1e2e8e5aa5306b2776436ca", IsRemote = false }, new { Name = "i-do-numbers", Sha = "7252fe2da2c4dd6d85231a150d0485ec46abaa7a", IsRemote = false }, - new { Name = "logo", Sha = "f37d751802fa49ac4b6abd21d8298fc5a20231ea", IsRemote = false }, + new { Name = "logo", Sha = "a447ba2ca8fffd46dece72f7db6faf324afb8fcd", IsRemote = false }, new { Name = "master", Sha = "32eab9cb1f450b5fe7ab663462b77d7f4b703344", IsRemote = false }, new { Name = "track-local", Sha = "580c2111be43802dab11328176d94c391f1deae9", IsRemote = false }, new { Name = "origin/HEAD", Sha = "580c2111be43802dab11328176d94c391f1deae9", IsRemote = true }, diff --git a/LibGit2Sharp.Tests/CheckoutFixture.cs b/LibGit2Sharp.Tests/CheckoutFixture.cs index 244b7ce0..b272cf1b 100644 --- a/LibGit2Sharp.Tests/CheckoutFixture.cs +++ b/LibGit2Sharp.Tests/CheckoutFixture.cs @@ -579,21 +579,20 @@ namespace LibGit2Sharp.Tests TemporaryCloneOfTestRepo path = BuildTemporaryCloneOfTestRepo(StandardTestRepoWorkingDirPath); using (var repo = new Repository(path.RepositoryPath)) { - // $ git hash-object azure3.png - // be5028b2f245165f015927020e41247f8a3c0dfe - const string expectedSha = "be5028b2f245165f015927020e41247f8a3c0dfe"; + // $ git hash-object square-logo.png + // b758c5bc1c8117c2a4c545dae2903e36360501c5 + const string expectedSha = "b758c5bc1c8117c2a4c545dae2903e36360501c5"; // The blob actually exists in the object database with the correct Sha Assert.Equal(expectedSha, repo.Lookup<Blob>(expectedSha).Sha); - repo.Checkout("refs/heads/logo", - CheckoutOptions.Force, null); + repo.Checkout("refs/heads/logo", CheckoutOptions.Force, null); // The Index has been updated as well with the blob - Assert.Equal(expectedSha, repo.Index["azure3.png"].Id.Sha); + Assert.Equal(expectedSha, repo.Index["square-logo.png"].Id.Sha); // Recreating a Blob from the checked out file... - Blob blob = repo.ObjectDatabase.CreateBlob("azure3.png"); + Blob blob = repo.ObjectDatabase.CreateBlob("square-logo.png"); // ...generates the same Sha Assert.Equal(expectedSha, blob.Id.Sha); diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/logs/refs/heads/logo b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/logs/refs/heads/logo new file mode 100644 index 00000000..e3e3e53f --- /dev/null +++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/logs/refs/heads/logo @@ -0,0 +1,2 @@ +0000000000000000000000000000000000000000 4c062a6361ae6959e06292c1fa5e2822d9c96345 nulltoken <emeric.fermas@gmail.com> 1359021419 +0100 branch: Created from 4c062a6361ae6959e06292c1fa5e2822d9c96345 +4c062a6361ae6959e06292c1fa5e2822d9c96345 a447ba2ca8fffd46dece72f7db6faf324afb8fcd nulltoken <emeric.fermas@gmail.com> 1359021433 +0100 commit: Add logo diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/0a/99448e920a3615f33273047412949d09015ff8 b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/0a/99448e920a3615f33273047412949d09015ff8 Binary files differnew file mode 100644 index 00000000..560fa54b --- /dev/null +++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/0a/99448e920a3615f33273047412949d09015ff8 diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a0/5af239478ccff5315f6ab78c00a8ee88aa3cbb b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a0/5af239478ccff5315f6ab78c00a8ee88aa3cbb Binary files differdeleted file mode 100644 index a9675384..00000000 --- a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a0/5af239478ccff5315f6ab78c00a8ee88aa3cbb +++ /dev/null diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a4/47ba2ca8fffd46dece72f7db6faf324afb8fcd b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a4/47ba2ca8fffd46dece72f7db6faf324afb8fcd Binary files differnew file mode 100644 index 00000000..188e3855 --- /dev/null +++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/a4/47ba2ca8fffd46dece72f7db6faf324afb8fcd diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/b7/58c5bc1c8117c2a4c545dae2903e36360501c5 b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/b7/58c5bc1c8117c2a4c545dae2903e36360501c5 Binary files differnew file mode 100644 index 00000000..ee6419e0 --- /dev/null +++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/b7/58c5bc1c8117c2a4c545dae2903e36360501c5 diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/be/5028b2f245165f015927020e41247f8a3c0dfe b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/be/5028b2f245165f015927020e41247f8a3c0dfe Binary files differdeleted file mode 100644 index 89834852..00000000 --- a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/be/5028b2f245165f015927020e41247f8a3c0dfe +++ /dev/null diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/f3/7d751802fa49ac4b6abd21d8298fc5a20231ea b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/f3/7d751802fa49ac4b6abd21d8298fc5a20231ea deleted file mode 100644 index b6b50f6c..00000000 --- a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/objects/f3/7d751802fa49ac4b6abd21d8298fc5a20231ea +++ /dev/null @@ -1 +0,0 @@ -xAj!EY&&W
G`;9AV<820ZNcLɒ: Uݹ1`;rdb0Q'b1[b?ƭu8+|J%I|^ʹ\b_@QwF
JۛR?Rx A랇yJhUW
\ No newline at end of file diff --git a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/refs/heads/logo b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/refs/heads/logo index 8bd833a0..2bbca050 100644 --- a/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/refs/heads/logo +++ b/LibGit2Sharp.Tests/Resources/testrepo_wd/dot_git/refs/heads/logo @@ -1 +1 @@ -f37d751802fa49ac4b6abd21d8298fc5a20231ea +a447ba2ca8fffd46dece72f7db6faf324afb8fcd |