( t *testing.T, conf *CandidateRelayConfig, extensions []CandidateExtension, )
| 310 | } |
| 311 | |
| 312 | func mustCandidateRelayWithExtensions( |
| 313 | t *testing.T, |
| 314 | conf *CandidateRelayConfig, |
| 315 | extensions []CandidateExtension, |
| 316 | ) Candidate { |
| 317 | t.Helper() |
| 318 | |
| 319 | cand, err := NewCandidateRelay(conf) |
| 320 | require.NoError(t, err) |
| 321 | |
| 322 | cand.setExtensions(extensions) |
| 323 | |
| 324 | return cand |
| 325 | } |
| 326 | |
| 327 | func mustCandidateServerReflexive(t *testing.T, conf *CandidateServerReflexiveConfig) Candidate { |
| 328 | t.Helper() |
no test coverage detected
searching dependent graphs…