MCPcopy Create free account
hub / github.com/google/gapid / resolveAPIs

Function resolveAPIs

gapil/bapi/bapi_test.go:210–221  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

208}
209
210func 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
223type compressor struct {
224 name string

Callers 3

TestEncodeDecodeFunction · 0.85
BenchmarkDecodeFunction · 0.85
BenchmarkApproachesFunction · 0.85

Calls 4

ResolveMethod · 0.95
ThatSliceMethod · 0.80
ForMethod · 0.80
EqualsMethod · 0.65

Tested by

no test coverage detected