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