Lines Matching refs:desc
197 func maybeBuildParamsFromDescription(provider testBuildProvider, desc string) TestingBuildParams {
199 if strings.Contains(p.Description, desc) {
206 func buildParamsFromDescription(provider testBuildProvider, desc string) TestingBuildParams {
207 p := maybeBuildParamsFromDescription(provider, desc)
209 panic(fmt.Errorf("couldn't find description %q", desc))
278 func (m TestingModule) MaybeDescription(desc string) TestingBuildParams {
279 return maybeBuildParamsFromDescription(m.module, desc)
284 func (m TestingModule) Description(desc string) TestingBuildParams {
285 return buildParamsFromDescription(m.module, desc)
331 func (s TestingSingleton) MaybeDescription(desc string) TestingBuildParams {
332 return maybeBuildParamsFromDescription(s.provider, desc)
337 func (s TestingSingleton) Description(desc string) TestingBuildParams {
338 return buildParamsFromDescription(s.provider, desc)