tailscale/net/portmapper
Claus Lensbøl f2f1236ad4
util/eventbus: add test helpers to simplify testing events (#16294)
Instead of every module having to come up with a set of test methods for
the event bus, this handful of test helpers hides a lot of the needed
setup for the testing of the event bus.

The tests in portmapper is also ported over to the new helpers.

Updates #15160

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2025-06-25 09:00:34 -04:00
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 2023-12-18 16:02:46 -05:00
igd_test.go net/portmapper: fix test flakes from logging after test done 2025-04-25 15:54:05 -07:00
legacy_upnp.go net/portmapper: support legacy "urn:dslforum-org" portmapping services 2024-01-23 21:29:29 -05:00
pcp_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pcp.go net/portmapper: check returned epoch from PMP and PCP protocols 2024-01-03 14:17:50 -05:00
pcpresultcode_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pmpresultcode_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
portmapper_test.go util/eventbus: add test helpers to simplify testing events (#16294) 2025-06-25 09:00:34 -04:00
portmapper.go util/eventbus: add test helpers to simplify testing events (#16294) 2025-06-25 09:00:34 -04:00
select_test.go net/portmapper: fix test flakes from logging after test done 2025-04-25 15:54:05 -07:00
upnp_test.go net/portmapper: fix test flakes from logging after test done 2025-04-25 15:54:05 -07:00
upnp.go net/portmapper: retry UPnP when we get an "Invalid Args" 2025-03-07 14:06:13 -05:00