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