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