75 references to ReadAsByteArrayAsync
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)
75Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
94Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
113Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
133Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
152Assert.Equal(FileLength / 2, (await response.Content.ReadAsByteArrayAsync()).Length);
209Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
230Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
251Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
272Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
300Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
323Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
345Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
363Assert.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)