(ctx context.Context)
| 208 | } |
| 209 | |
| 210 | func resolveAPIs(ctx context.Context) ([]*semantic.API, *semantic.Mappings) { |
| 211 | apis := []*semantic.API{} |
| 212 | processor := gapil.NewProcessor() |
| 213 | for _, path := range testAPIs { |
| 214 | api, errs := processor.Resolve(path) |
| 215 | if !assert.For(ctx, "Resolve").ThatSlice(errs).Equals(parse.ErrorList{}) { |
| 216 | continue |
| 217 | } |
| 218 | apis = append(apis, api) |
| 219 | } |
| 220 | return apis, processor.Mappings |
| 221 | } |
| 222 | |
| 223 | type compressor struct { |
| 224 | name string |
no test coverage detected