22 references to GetFileProvider
Microsoft.AspNetCore.Http.Results.Tests (22)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (22)
48
.Returns(
GetFileProvider
(path));
51
var httpContext = GetHttpContext(
GetFileProvider
(path));
85
.Returns(
GetFileProvider
(path));
88
var httpContext = GetHttpContext(
GetFileProvider
(path));
122
.Returns(
GetFileProvider
(path));
125
var httpContext = GetHttpContext(
GetFileProvider
(path));
155
.Returns(
GetFileProvider
(path));
158
var httpContext = GetHttpContext(
GetFileProvider
(path));
191
.Returns(
GetFileProvider
(path));
194
var httpContext = GetHttpContext(
GetFileProvider
(path));
225
.Returns(
GetFileProvider
(path));
227
var httpContext = GetHttpContext(
GetFileProvider
(path));
261
.Returns(
GetFileProvider
(path));
264
var httpContext = GetHttpContext(
GetFileProvider
(path));
292
.Returns(
GetFileProvider
(path));
295
var httpContext = GetHttpContext(
GetFileProvider
(path));
327
var httpContext = GetHttpContext(
GetFileProvider
(path));
331
.Returns(
GetFileProvider
(path));
364
var httpContext = GetHttpContext(
GetFileProvider
("FilePathResultTestFile_ASCII.txt"));
382
var httpContext = GetHttpContext(
GetFileProvider
(path));
403
var webRootFileProvider =
GetFileProvider
(path);
426
var webRootFileProvider =
GetFileProvider
(expectedPath);