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

Function assertNoExternalMapping

external_ip_mapper_test.go:47–54  ·  view source on GitHub ↗
(t *testing.T, mapper *addressRewriteMapper, candidateType CandidateType, localIP string)

Source from the content-addressed store, hash-verified

45}
46
47func assertNoExternalMapping(t *testing.T, mapper *addressRewriteMapper, candidateType CandidateType, localIP string) {
48 t.Helper()
49
50 ips, matched, _, err := mapper.findExternalIPs(candidateType, localIP, "")
51 assert.NoError(t, err)
52 assert.False(t, matched)
53 assert.Nil(t, ips)
54}
55
56func TestValidateIPString(t *testing.T) {
57 var ip net.IP

Calls 1

findExternalIPsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…