(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestFrameHeaderString(t *testing.T) { |
| 48 | fh := FrameHeader{ |
| 49 | Type: FrameData, |
| 50 | Flags: FlagDataEndStream, |
| 51 | Length: 100, |
| 52 | StreamID: 1, |
| 53 | } |
| 54 | s := fh.String() |
| 55 | if s == "" { |
| 56 | t.Fatal("FrameHeader.String() should not be empty") |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func TestFramerWriteReadData(t *testing.T) { |
| 61 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected
searching dependent graphs…