MCPcopy Create free account
hub / github.com/pion/ice / mustCandidateServerReflexiveWithExtensions

Function mustCandidateServerReflexiveWithExtensions

candidate_test.go:336–349  ·  view source on GitHub ↗
(
	t *testing.T,
	conf *CandidateServerReflexiveConfig,
	extensions []CandidateExtension,
)

Source from the content-addressed store, hash-verified

334}
335
336func mustCandidateServerReflexiveWithExtensions(
337 t *testing.T,
338 conf *CandidateServerReflexiveConfig,
339 extensions []CandidateExtension,
340) Candidate {
341 t.Helper()
342
343 cand, err := NewCandidateServerReflexive(conf)
344 require.NoError(t, err)
345
346 cand.setExtensions(extensions)
347
348 return cand
349}
350
351func mustCandidatePeerReflexiveWithExtensions(
352 t *testing.T,

Callers 1

Calls 2

setExtensionsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…