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

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Submodule/SubmoduleInitTest.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:
60
60
        [NUnit.Framework.TestFixture]
61
61
        public class SubmoduleInitTest : RepositoryTestCase
62
62
        {
 
63
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
63
64
                [NUnit.Framework.Test]
64
65
                public virtual void RepositoryWithNoSubmodules()
65
66
                {
71
72
 
72
73
                /// <exception cref="System.IO.IOException"></exception>
73
74
                /// <exception cref="NGit.Errors.ConfigInvalidException"></exception>
 
75
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
74
76
                [NUnit.Framework.Test]
75
77
                public virtual void RepositoryWithUninitializedModule()
76
78
                {
140
142
 
141
143
                /// <exception cref="System.IO.IOException"></exception>
142
144
                /// <exception cref="NGit.Errors.ConfigInvalidException"></exception>
 
145
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
143
146
                [NUnit.Framework.Test]
144
147
                public virtual void ResolveOneLevelHigherRelativeUrl()
145
148
                {
177
180
 
178
181
                /// <exception cref="System.IO.IOException"></exception>
179
182
                /// <exception cref="NGit.Errors.ConfigInvalidException"></exception>
 
183
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
180
184
                [NUnit.Framework.Test]
181
185
                public virtual void ResolveTwoLevelHigherRelativeUrl()
182
186
                {
214
218
                }
215
219
 
216
220
                /// <exception cref="System.IO.IOException"></exception>
 
221
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
217
222
                /// <exception cref="NGit.Errors.ConfigInvalidException"></exception>
218
223
                [NUnit.Framework.Test]
219
224
                public virtual void ResolveWorkingDirectoryRelativeUrl()
256
261
 
257
262
                /// <exception cref="System.IO.IOException"></exception>
258
263
                /// <exception cref="NGit.Errors.ConfigInvalidException"></exception>
 
264
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
259
265
                [NUnit.Framework.Test]
260
266
                public virtual void ResolveInvalidParentUrl()
261
267
                {
295
301
                        string path = "sub";
296
302
                        DirCache cache = db.LockDirCache();
297
303
                        DirCacheEditor editor = cache.Editor();
298
 
                        editor.Add(new _PathEdit_322(id, path));
 
304
                        editor.Add(new _PathEdit_323(id, path));
299
305
                        editor.Commit();
300
306
                        return path;
301
307
                }
302
308
 
303
 
                private sealed class _PathEdit_322 : DirCacheEditor.PathEdit
 
309
                private sealed class _PathEdit_323 : DirCacheEditor.PathEdit
304
310
                {
305
 
                        public _PathEdit_322(ObjectId id, string baseArg1) : base(baseArg1)
 
311
                        public _PathEdit_323(ObjectId id, string baseArg1) : base(baseArg1)
306
312
                        {
307
313
                                this.id = id;
308
314
                        }