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); }
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); }
public MockTransport(PushProcessTest _enclosing, Repository local, URIish uri) : base(local, uri) { this._enclosing = _enclosing; }