(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func TestAlterConfigsRequest(t *testing.T) { |
| 16 | prototest.TestRequest(t, v0, &alterconfigs.Request{ |
| 17 | ValidateOnly: true, |
| 18 | Resources: []alterconfigs.RequestResources{ |
| 19 | { |
| 20 | ResourceType: 1, |
| 21 | ResourceName: "foo", |
| 22 | Configs: []alterconfigs.RequestConfig{ |
| 23 | { |
| 24 | Name: "foo", |
| 25 | Value: "foo", |
| 26 | }, |
| 27 | }, |
| 28 | }, |
| 29 | }, |
| 30 | }) |
| 31 | |
| 32 | prototest.TestRequest(t, v1, &alterconfigs.Request{ |
| 33 | ValidateOnly: true, |
| 34 | Resources: []alterconfigs.RequestResources{ |
| 35 | { |
| 36 | ResourceType: 1, |
| 37 | ResourceName: "foo", |
| 38 | Configs: []alterconfigs.RequestConfig{ |
| 39 | { |
| 40 | Name: "foo", |
| 41 | Value: "foo", |
| 42 | }, |
| 43 | }, |
| 44 | }, |
| 45 | }, |
| 46 | }) |
| 47 | } |
| 48 | |
| 49 | func TestAlterConfigsResponse(t *testing.T) { |
| 50 | prototest.TestResponse(t, v0, &alterconfigs.Response{ |
nothing calls this directly
no test coverage detected