public Task Run(TestContext ctx, CancellationToken cancellationToken, [HttpServer] HttpServer server, [ChunkContentType] ChunkContentType type, bool sendAsync) { var runner = new ChunkedTestRunner(server, type, sendAsync); return(runner.Run(ctx, cancellationToken)); }
public Task ServerErrorTests(TestContext ctx, CancellationToken cancellationToken, [HttpServer(ListenerFlags.ExpectException)] HttpServer server, [ChunkContentType(ServerError = true)] ChunkContentType type, bool sendAsync) { var runner = new ChunkedTestRunner(server, type, sendAsync); return(runner.Run(ctx, cancellationToken)); }
public Task ServerErrorTests(TestContext ctx, HttpServer server, bool sendAsync, [ChunkContentType(ServerError = true)] ChunkContentType type, CancellationToken cancellationToken) { var runner = new ChunkedTestRunner(server, type, sendAsync); return(runner.Run(ctx, cancellationToken)); }