(t *testing.T)
| 110 | } |
| 111 | |
| 112 | func (s) TestParseLBConfig(t *testing.T) { |
| 113 | testcases := []parseTestCase{ |
| 114 | { |
| 115 | scjs: `{ |
| 116 | "loadBalancingConfig": [{"pbb": { "foo": "hi" } }] |
| 117 | }`, |
| 118 | wantSC: &ServiceConfig{ |
| 119 | Methods: make(map[string]MethodConfig), |
| 120 | lbConfig: lbConfigFor(t, "pbb", pbbData{Foo: "hi"}), |
| 121 | }, |
| 122 | wantErr: false, |
| 123 | }, |
| 124 | } |
| 125 | runParseTests(t, testcases) |
| 126 | } |
| 127 | |
| 128 | func (s) TestParseNoLBConfigSupported(t *testing.T) { |
| 129 | // We have a loadBalancingConfig field but will not encounter a supported |
nothing calls this directly
no test coverage detected