Searched defs:bytesVerifier (Results 1 – 3 of 3) sorted by relevance
35 type bytesVerifier struct { struct36 expectedBytes []byte // bytes that are expected to be written in next Write call37 waitingForInput bool // true if verifier is waiting for a Write call38 writtenData []byte // real bytes that actually were received during the last Write call39 testEnv *testing.T55 func (verifier *bytesVerifier) Write(bytes []byte) (n int, err error) {86 func (verifier *bytesVerifier) ExpectBytes(bytes []byte) {91 func (verifier *bytesVerifier) MustNotExpect() {104 func (verifier *bytesVerifier) Close() error {