public Task Run(TestContext ctx, CancellationToken cancellationToken, HttpServer server, [ChunkedOperationType] ChunkedOperationType type, bool sendAsync) { var runner = ChunkedOperation.Create(server, type, sendAsync); return(runner.Run(ctx, cancellationToken)); }
public Task ServerErrorTests(TestContext ctx, HttpServer server, bool sendAsync, [ChunkedOperationType(ServerError = true)] ChunkedOperationType type, CancellationToken cancellationToken) { var runner = ChunkedOperation.Create(server, type, sendAsync); return(runner.Run(ctx, cancellationToken)); }