예제 #1
0
 protected NullServerTests(Func <Uri, string, TestClient> ctor)
 {
     rootPath     = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
     apiKey       = Guid.NewGuid().ToString();
     server       = new NullTestServer(rootPath, ++port, apiKey);
     client       = ctor(server.Uri, string.Empty);
     clientForNew = ctor(server.Uri, ",all,new");
 }
 protected SrcSrvNullServerTests(string feed)
 {
     server = new NullTestServer(null, 57739, null);
     client = new SrcSrvTestClient(server.Uri, feed);
 }