Base:
33 references to ToString
Microsoft.AspNetCore.Http.Results.Tests (15)
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
86
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
125
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
259
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
64
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
105
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
249
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
365
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (4)
57
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
88
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
205
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
317
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (4)
69
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
106
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
247
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
352
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
Microsoft.AspNetCore.Mvc.Core.Test (15)
src\Shared\ResultsTests\FileContentResultTestBase.cs (3)
86
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
125
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
259
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\FileStreamResultTestBase.cs (4)
64
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
105
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
249
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
365
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (4)
57
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
88
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
205
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
317
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (4)
69
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
106
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
247
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
352
Assert.Equal(contentRange.
ToString
(), httpResponse.Headers.ContentRange);
Microsoft.Net.Http.Headers.Tests (3)
ContentRangeHeaderValueTest.cs (3)
91
Assert.Equal("myunit 1-2/3", range.
ToString
());
94
Assert.Equal("bytes 123456789012345678-123456789012345679/*", range.
ToString
());
97
Assert.Equal("bytes */150", range.
ToString
());