go/src/time/tick_test.go

func TestTicker(t *testing.T) {}

// Issue 21874
func TestTickerStopWithDirectInitialization(t *testing.T) {}

// Test that a bug tearing down a ticker has been fixed. This routine should not deadlock.
func TestTeardown(t *testing.T) {}

// Test the Tick convenience wrapper.
func TestTick(t *testing.T) {}

// Test that NewTicker panics when given a duration less than zero.
func TestNewTickerLtZeroDuration(t *testing.T) {}

// Test that Ticker.Reset panics when given a duration less than zero.
func TestTickerResetLtZeroDuration(t *testing.T) {}

func TestLongAdjustTimers(t *testing.T) {}

func BenchmarkTicker(b *testing.B) {}

func BenchmarkTickerReset(b *testing.B) {}

func BenchmarkTickerResetNaive(b *testing.B) {}

func TestTimerGC(t *testing.T) {}

func TestChan(t *testing.T) {}

type timer

type tickerTimer

func (t *tickerTimer) Stop() bool {}

func (t *tickerTimer) Reset(d Duration) bool {}

func testTimerChan(t *testing.T, tim timer, C <-chan Time, synctimerchan bool) {}

func TestManualTicker(t *testing.T) {}

func TestAfterTimes(t *testing.T) {}

func TestTickTimes(t *testing.T) {}