MCPcopy
hub / github.com/segmentio/kafka-go / TestAlterConfigsResponse

Function TestAlterConfigsResponse

protocol/alterconfigs/alterconfigs_test.go:49–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

47}
48
49func TestAlterConfigsResponse(t *testing.T) {
50 prototest.TestResponse(t, v0, &alterconfigs.Response{
51 ThrottleTimeMs: 500,
52 Responses: []alterconfigs.ResponseResponses{
53 {
54 ErrorCode: 1,
55 ErrorMessage: "foo",
56 ResourceType: 1,
57 ResourceName: "foo",
58 },
59 },
60 })
61
62 prototest.TestResponse(t, v1, &alterconfigs.Response{
63 ThrottleTimeMs: 500,
64 Responses: []alterconfigs.ResponseResponses{
65 {
66 ErrorCode: 1,
67 ErrorMessage: "foo",
68 ResourceType: 1,
69 ResourceName: "foo",
70 },
71 },
72 })
73}

Callers

nothing calls this directly

Calls 1

TestResponseFunction · 0.92

Tested by

no test coverage detected