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
Adrian Dewhurst 92fb80d55f tstest, tstime: mockable timers and tickers
This change introduces tstime.Clock which is the start of a mockable
interface for use with testing other upcoming code changes.

Fixes #8463

Change-Id: I59eabc797828809194575736615535d918242ec4
Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
11 months ago
..
archtest all: update copyright and license headers 1 year ago
integration tsd: add package with System type to unify subsystem init, discovery 1 year ago
iosdeps all: update copyright and license headers 1 year ago
jsdeps all: update copyright and license headers 1 year ago
natlab wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 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 tstest, tstime: mockable timers and tickers 11 months ago
clock_test.go tstest, tstime: mockable timers and tickers 11 months ago
log.go tstest: do not panic when a panic logs 11 months 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 all: use tstest.Replace more 1 year ago
tstest_test.go tstest: add method to Replace values for tests 1 year ago