MCPcopy Index your code
hub / github.com/FloatTech/ZeroBot-Plugin / TestClock

Function TestClock

plugin/manager/timer/timer_test.go:27–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestClock(t *testing.T) {
28 db := sql.New("test.db")
29 c := NewClock(&db)
30 c.AddTimerIntoDB(GetFilledTimer([]string{"", "12", "-1", "12", "0", "", "test"}, 0, 0, false))
31 t.Log(c.ListTimers(0))
32 t.Fail()
33}

Callers

nothing calls this directly

Calls 4

AddTimerIntoDBMethod · 0.95
ListTimersMethod · 0.95
NewClockFunction · 0.85
GetFilledTimerFunction · 0.85

Tested by

no test coverage detected