1 write to AbsoluteFilePath
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseSendFileTests.cs (1)
30
AbsoluteFilePath
= Directory.GetFiles(Directory.GetCurrentDirectory()).First();
31 references to AbsoluteFilePath
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (31)
ResponseSendFileTests.cs (31)
31
RelativeFilePath = Path.GetFileName(
AbsoluteFilePath
);
32
FileLength = new FileInfo(
AbsoluteFilePath
).Length;
68
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None);
106
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None);
125
sendFile.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None).Wait();
126
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None);
145
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, FileLength / 2, CancellationToken.None);
166
sendFile.SendFileAsync(
AbsoluteFilePath
, 1234567, null, CancellationToken.None));
185
sendFile.SendFileAsync(
AbsoluteFilePath
, 0, 1234567, CancellationToken.None));
202
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, 0, CancellationToken.None);
222
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None);
243
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, 10, CancellationToken.None);
264
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, 0, CancellationToken.None);
291
return sendFile.SendFileAsync(
AbsoluteFilePath
, 0, 10, CancellationToken.None);
340
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
341
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
358
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
359
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
379
var writeTask = httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
407
var writeTask = httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
434
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
436
var writeTask = httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
461
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
463
var writeTask = httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
502
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
507
httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token));
549
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null);
589
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
600
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, cts.Token);
641
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null);
650
await httpContext.Response.SendFileAsync(
AbsoluteFilePath
, 0, null, CancellationToken.None);