tailscale/tstest
Maisem Ali b9ebf7cf14 tstest: add method to Replace values for tests
We have many function pointers that we replace for the duration of test and
restore it on test completion, add method to do that.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-03-03 17:02:33 -08:00
..
archtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
integration cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI 2023-03-03 14:21:38 -05:00
iosdeps all: update copyright and license headers 2023-01-27 15:36:29 -08:00
jsdeps all: update copyright and license headers 2023-01-27 15:36:29 -08:00
natlab all: use Go 1.20's bytes.Clone 2023-02-01 17:39:18 -08:00
tools all: update copyright and license headers 2023-01-27 15:36:29 -08:00
allocs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
clock.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
log_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
log.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
resource.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tstest_test.go tstest: add method to Replace values for tests 2023-03-03 17:02:33 -08:00
tstest.go tstest: add method to Replace values for tests 2023-03-03 17:02:33 -08:00