You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/eventbus
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>
5 months ago
..
assets util/eventbus: add a debug HTTP handler for the bus 9 months ago
debug-demo util/eventbus: add a helper program for bus development 9 months ago
eventbustest util/eventbus: add test helpers to simplify testing events (#16294) 5 months ago
bench_test.go util/eventbus: add basic throughput benchmarks (#15284) 9 months ago
bus.go util/eventbus: add a debug HTTP handler for the bus 9 months ago
bus_test.go util/eventbus: rework to have a Client abstraction 9 months ago
client.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago
debug.go ipn/localapi,client/local: add debug watcher for bus events (#16239) 6 months ago
debughttp.go util/eventbus: also disable websocket debug on Android 7 months ago
debughttp_off.go util/eventbus: also disable websocket debug on Android 7 months ago
doc.go util/eventbus: add test helpers to simplify testing events (#16294) 5 months ago
fetch-htmx.go util/eventbus: add a debug HTTP handler for the bus 9 months ago
publish.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago
queue.go util/eventbus: make internal queue a generic type 9 months ago
subscribe.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago