21 references to Done
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (21)
Http2\Http2HPackEncoderTests.cs (15)
25
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(302, hpackEncoder, enumerator, buffer, out var length));
48
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(302, hpackEncoder, enumerator, buffer, out var length));
76
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(302, hpackEncoder, enumerator, buffer, out var length));
118
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(307, hpackEncoder, enumerator, buffer, out length));
159
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(200, hpackEncoder, enumerator, buffer, out length));
220
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(302, hpackEncoder, enumerator, buffer, out var length));
262
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(307, hpackEncoder, enumerator, buffer, out length));
303
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(200, hpackEncoder, enumerator, buffer, out length));
361
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(hpackEncoder, enumerator, buffer, out _));
387
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(200, hpackEncoder, enumerator, buffer, out var length));
476
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(statusCode.Value, hpackEncoder, GetHeadersEnumerator(headers), payload, out length));
480
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(hpackEncoder, GetHeadersEnumerator(headers), payload, out length));
563
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.ContinueEncodeHeaders(hpackEncoder, headerEnumerator, payload.Slice(offset, sliceLength), out length));
580
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(hpackEncoder, enumerator, buffer, out var length));
594
Assert.Equal(HeaderWriteResult.
Done
, HPackHeaderWriter.BeginEncodeHeaders(hpackEncoder, enumerator, buffer, out length));
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (3)
50
return HeaderWriteResult.
Done
;
87
return HeaderWriteResult.
Done
;
156
return HeaderWriteResult.
Done
;
src\Servers\Kestrel\shared\test\PipeWriterHttp2FrameExtensions.cs (3)
40
if (done == HeaderWriteResult.
Done
)
53
while (done != HeaderWriteResult.
Done
)
60
if (done == HeaderWriteResult.
Done
)