1 override of ExecuteAsync
Microsoft.AspNetCore.Mvc.Core.Test (1)
15 references to ExecuteAsync
Microsoft.AspNetCore.Mvc.Core.Test (15)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (15)
60await ExecuteAsync(httpContext, path, contentType, enableRangeProcessing: true);
99await ExecuteAsync(httpContext, path, contentType, entityTag: entityTag, enableRangeProcessing: true);
136await ExecuteAsync(httpContext, path, contentType, entityTag: entityTag);
169await ExecuteAsync(httpContext, path, contentType, entityTag: entityTag, enableRangeProcessing: true);
203await ExecuteAsync(httpContext, path, contentType, enableRangeProcessing: true);
237await ExecuteAsync(httpContext, path, contentType, enableRangeProcessing: true);
273await ExecuteAsync(httpContext, path, contentType, enableRangeProcessing: true);
304await ExecuteAsync(httpContext, path, contentType, enableRangeProcessing: true);
339await ExecuteAsync(httpContext, path, "text/plain", enableRangeProcessing: true);
368await ExecuteAsync(httpContext, "FilePathResultTestFile_ASCII.txt", expectedContentType);
386await ExecuteAsync(httpContext, path, "text/plain");
408await ExecuteAsync(httpContext, path, "text/plain");
431await ExecuteAsync(httpContext, path, "text/plain");
456await ExecuteAsync(httpContext, "/SampleEmbeddedFile.txt", "text/plain");
478var ex = await Assert.ThrowsAsync<FileNotFoundException>(() => ExecuteAsync(httpContext, path, "text/plain"));