81 references to ReadAsByteArrayAsync
Aspire.Dashboard.Tests (6)
Diagnostics.FunctionalTests (1)
IIS.FunctionalTests (2)
IIS.Tests (1)
IISExpress.FunctionalTests (2)
Infrastructure.Common (2)
Interop.FunctionalTests (3)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
Microsoft.AspNetCore.ResponseCompression.Tests (3)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (30)
ResponseSendFileTests.cs (13)
76Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
95Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
114Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
134Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
153Assert.Equal(FileLength / 2, (await response.Content.ReadAsByteArrayAsync()).Length);
210Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
231Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
252Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
273Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
301Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
324Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
346Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
364Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
Microsoft.AspNetCore.SignalR.Client.Tests (3)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (4)
Microsoft.AspNetCore.StaticFiles.Tests (11)
Microsoft.AspNetCore.TestHost.Tests (8)