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

Function TestWithEnableUseCandidateCheckPriority

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

Source from the content-addressed store, hash-verified

484}
485
486func TestWithEnableUseCandidateCheckPriority(t *testing.T) {
487 testBooleanOption(t, booleanOptionTest{
488 optionFunc: WithEnableUseCandidateCheckPriority,
489 getValue: func(a *Agent) bool { return a.enableUseCandidateCheckPriority },
490 configSetter: func(c *AgentConfig, v bool) { c.EnableUseCandidateCheckPriority = v },
491 }, "use candidate check priority")
492}
493
494func TestMultipleConfigOptions(t *testing.T) {
495 t.Run("can apply multiple options", 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…