public DownloadTest(DownloadTestOptions options) : base(options)
 {
     _server ??= InProcTestServer.CreateStaticResponse(options.Size);
     _pipeline ??= HttpPipelineBuilder.Build(new TestClientOptions());
 }
示例#2
0
 public DownloadHttpClientTest(DownloadTestOptions options) : base(options)
 {
     _server ??= InProcTestServer.CreateStaticResponse(options.Size);
     _client ??= new HttpClient();
 }