15 references to GetHttpContext
Microsoft.AspNetCore.Http.Results.Tests (15)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (15)
51var httpContext = GetHttpContext(GetFileProvider(path)); 88var httpContext = GetHttpContext(GetFileProvider(path)); 125var httpContext = GetHttpContext(GetFileProvider(path)); 158var httpContext = GetHttpContext(GetFileProvider(path)); 194var httpContext = GetHttpContext(GetFileProvider(path)); 227var httpContext = GetHttpContext(GetFileProvider(path)); 264var httpContext = GetHttpContext(GetFileProvider(path)); 295var httpContext = GetHttpContext(GetFileProvider(path)); 327var httpContext = GetHttpContext(GetFileProvider(path)); 364var httpContext = GetHttpContext(GetFileProvider("FilePathResultTestFile_ASCII.txt")); 382var httpContext = GetHttpContext(GetFileProvider(path)); 404var httpContext = GetHttpContext(webRootFileProvider); 427var httpContext = GetHttpContext(webRootFileProvider); 452var httpContext = GetHttpContext(nonDiskFileProvider.Object); 475var httpContext = GetHttpContext(fileProvider.Object);