MCPcopy
hub / github.com/IBM/sarama / TestSaslAuthenticateResponse

Function TestSaslAuthenticateResponse

sasl_authenticate_response_test.go:28–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26)
27
28func TestSaslAuthenticateResponse(t *testing.T) {
29 response := new(SaslAuthenticateResponse)
30 response.Err = ErrSASLAuthenticationFailed
31 msg := "err"
32 response.ErrorMessage = &msg
33 response.SaslAuthBytes = []byte(`msg`)
34
35 testResponse(t, "authenticate response", response, saslAuthenticateResponseErr)
36}
37
38func TestSaslAuthenticateResponseV1(t *testing.T) {
39 response := new(SaslAuthenticateResponse)

Callers

nothing calls this directly

Calls 1

testResponseFunction · 0.85

Tested by

no test coverage detected