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/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>
2 years ago
..
archtest all: update copyright and license headers 2 years ago
integration cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI 2 years ago
iosdeps all: update copyright and license headers 2 years ago
jsdeps all: update copyright and license headers 2 years ago
natlab all: use Go 1.20's bytes.Clone 2 years ago
tools all: update copyright and license headers 2 years ago
allocs.go all: update copyright and license headers 2 years ago
clock.go all: update copyright and license headers 2 years ago
log.go all: update copyright and license headers 2 years ago
log_test.go all: update copyright and license headers 2 years ago
resource.go all: update copyright and license headers 2 years ago
tstest.go tstest: add method to Replace values for tests 2 years ago
tstest_test.go tstest: add method to Replace values for tests 2 years ago