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

Function TestWithIncludeLoopback

agent_options_test.go:380–386  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

378}
379
380func TestWithIncludeLoopback(t *testing.T) {
381 testBooleanOption(t, booleanOptionTest{
382 optionFunc: WithIncludeLoopback,
383 getValue: func(a *Agent) bool { return a.includeLoopback },
384 configSetter: func(c *AgentConfig, v bool) { c.IncludeLoopback = v },
385 }, "loopback addresses")
386}
387
388func TestWithTCPPriorityOffset(t *testing.T) {
389 t.Run("sets custom TCP priority offset", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testBooleanOptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…