~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Api/TagCommandTest.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        [NUnit.Framework.TestFixture]
55
55
        public class TagCommandTest : RepositoryTestCase
56
56
        {
57
 
                /// <exception cref="NGit.Api.Errors.NoHeadException"></exception>
58
 
                /// <exception cref="NGit.Api.Errors.NoMessageException"></exception>
59
 
                /// <exception cref="NGit.Api.Errors.ConcurrentRefUpdateException"></exception>
60
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
61
 
                /// <exception cref="NGit.Api.Errors.WrongRepositoryStateException"></exception>
62
 
                /// <exception cref="NGit.Api.Errors.InvalidTagNameException"></exception>
63
 
                /// <exception cref="NGit.Errors.MissingObjectException"></exception>
64
 
                /// <exception cref="NGit.Errors.IncorrectObjectTypeException"></exception>
 
57
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
65
58
                /// <exception cref="System.IO.IOException"></exception>
66
59
                [NUnit.Framework.Test]
67
60
                public virtual void TestTaggingOnHead()
75
68
                                ());
76
69
                }
77
70
 
78
 
                /// <exception cref="NGit.Api.Errors.NoHeadException"></exception>
79
 
                /// <exception cref="NGit.Api.Errors.NoMessageException"></exception>
80
 
                /// <exception cref="NGit.Errors.UnmergedPathException"></exception>
81
 
                /// <exception cref="NGit.Api.Errors.ConcurrentRefUpdateException"></exception>
 
71
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
82
72
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
83
 
                /// <exception cref="NGit.Api.Errors.WrongRepositoryStateException"></exception>
84
 
                /// <exception cref="NGit.Api.Errors.InvalidTagNameException"></exception>
85
73
                [NUnit.Framework.Test]
86
74
                public virtual void TestTagging()
87
75
                {
93
81
                        NUnit.Framework.Assert.AreEqual(commit.Id, db.Peel(tagRef).GetPeeledObjectId());
94
82
                }
95
83
 
96
 
                /// <exception cref="NGit.Api.Errors.NoHeadException"></exception>
97
 
                /// <exception cref="NGit.Api.Errors.NoMessageException"></exception>
98
 
                /// <exception cref="NGit.Errors.UnmergedPathException"></exception>
99
 
                /// <exception cref="NGit.Api.Errors.ConcurrentRefUpdateException"></exception>
100
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
101
 
                /// <exception cref="NGit.Api.Errors.WrongRepositoryStateException"></exception>
 
84
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
102
85
                [NUnit.Framework.Test]
103
86
                public virtual void TestEmptyTagName()
104
87
                {
116
99
                }
117
100
 
118
101
                // should hit here
119
 
                /// <exception cref="NGit.Api.Errors.NoHeadException"></exception>
120
 
                /// <exception cref="NGit.Api.Errors.NoMessageException"></exception>
121
 
                /// <exception cref="NGit.Errors.UnmergedPathException"></exception>
122
 
                /// <exception cref="NGit.Api.Errors.ConcurrentRefUpdateException"></exception>
123
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
124
 
                /// <exception cref="NGit.Api.Errors.WrongRepositoryStateException"></exception>
 
102
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
125
103
                [NUnit.Framework.Test]
126
104
                public virtual void TestInvalidTagName()
127
105
                {
138
116
                }
139
117
 
140
118
                // should hit here
141
 
                /// <exception cref="NGit.Api.Errors.NoHeadException"></exception>
142
 
                /// <exception cref="NGit.Api.Errors.NoMessageException"></exception>
143
 
                /// <exception cref="NGit.Errors.UnmergedPathException"></exception>
144
 
                /// <exception cref="NGit.Api.Errors.ConcurrentRefUpdateException"></exception>
145
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
146
 
                /// <exception cref="NGit.Api.Errors.WrongRepositoryStateException"></exception>
147
 
                /// <exception cref="NGit.Api.Errors.InvalidTagNameException"></exception>
 
119
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
148
120
                [NUnit.Framework.Test]
149
121
                public virtual void TestFailureOnSignedTags()
150
122
                {