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

Struct booleanOptionTest

agent_options_test.go:24–28  ·  view source on GitHub ↗

testBooleanOption is a helper function to test boolean agent options.

Source from the content-addressed store, hash-verified

22
23// testBooleanOption is a helper function to test boolean agent options.
24type booleanOptionTest struct {
25 optionFunc func() AgentOption
26 getValue func(*Agent) bool
27 configSetter func(*AgentConfig, bool)
28}
29
30func testBooleanOption(t *testing.T, test booleanOptionTest, optionName string) {
31 t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected