(t *testing.T, path string)
| 12 | ) |
| 13 | |
| 14 | func compilePath(t *testing.T, path string) httprule.Template { |
| 15 | parsed, err := httprule.Parse(path) |
| 16 | if err != nil { |
| 17 | t.Fatalf("httprule.Parse(%q) failed with %v; want success", path, err) |
| 18 | } |
| 19 | return parsed.Compile() |
| 20 | } |
| 21 | |
| 22 | func testExtractServices(t *testing.T, input []*descriptorpb.FileDescriptorProto, target string, wantSvcs []*Service) { |
| 23 | testExtractServicesWithRegistry(t, NewRegistry(), input, target, wantSvcs) |
no test coverage detected