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