src\Shared\Http2cat\Http2Utilities.cs (28)
233Assert.Equal(Http2FrameType.HEADERS, frame.Type);
876Assert.Equal(type, frame.Type);
877Assert.Equal(withLength, frame.PayloadLength);
878Assert.Equal(withFlags, frame.Flags);
879Assert.Equal(withStreamId, frame.StreamId);
903Assert.Equal(Http2FrameType.HEADERS, headersFrame.Type);
904Assert.Equal(expectedStreamId, headersFrame.StreamId);
906Assert.Equal(endStream, (headersFrame.Flags & (byte)Http2HeadersFrameFlags.END_STREAM) != 0);
916Assert.Equal(Http2FrameType.DATA, frame.Type);
917Assert.Equal(expectedStreamId, frame.StreamId);
918Assert.Equal(endOfStream ? Http2DataFrameFlags.END_STREAM : Http2DataFrameFlags.NONE, frame.DataFlags);
919Assert.Equal(length, frame.PayloadLength);
924Assert.Equal(Http2FrameType.GOAWAY, frame.Type);
925Assert.Equal(8, frame.PayloadLength);
926Assert.Equal(0, frame.Flags);
927Assert.Equal(0, frame.StreamId);
928Assert.Equal(expectedLastStreamId, frame.GoAwayLastStreamId);
929Assert.Equal(expectedErrorCode, frame.GoAwayErrorCode);
934Assert.Equal(Http2FrameType.RST_STREAM, frame.Type);
935Assert.Equal(expectedStreamId, frame.StreamId);
936Assert.Equal(expectedErrorCode, frame.RstStreamErrorCode);
937Assert.Equal(4, frame.PayloadLength);
938Assert.Equal(0, frame.Flags);
968Assert.Equal(Http2FrameType.RST_STREAM, frame.Type);
969Assert.Equal(4, frame.PayloadLength);
970Assert.Equal(0, frame.Flags);
971Assert.Equal(expectedStreamId, frame.StreamId);
972Assert.Equal(expectedErrorCode, frame.RstStreamErrorCode);