コード例 #1
0
            public MockPushConnection(PushProcessTest _enclosing)
            {
                this._enclosing = _enclosing;
                IDictionary <string, Ref> refsMap = new Dictionary <string, Ref>();

                foreach (Ref r in this._enclosing.advertisedRefs)
                {
                    refsMap.Put(r.GetName(), r);
                }
                this.Available(refsMap);
            }
コード例 #2
0
ファイル: PushProcessTest.cs プロジェクト: shoff/ngit
			public MockPushConnection(PushProcessTest _enclosing)
			{
				this._enclosing = _enclosing;
				IDictionary<string, Ref> refsMap = new Dictionary<string, Ref>();
				foreach (Ref r in this._enclosing.advertisedRefs)
				{
					refsMap.Put(r.GetName(), r);
				}
				this.Available(refsMap);
			}
コード例 #3
0
 public MockTransport(PushProcessTest _enclosing, Repository local, URIish uri)
     : base(local, uri)
 {
     this._enclosing = _enclosing;
 }
コード例 #4
0
ファイル: PushProcessTest.cs プロジェクト: shoff/ngit
			public MockTransport(PushProcessTest _enclosing, Repository local, URIish uri)
				 : base(local, uri)
			{
				this._enclosing = _enclosing;
			}