MCPcopy Create free account
hub / github.com/DNAProject/DNA / constructEventTimer

Function constructEventTimer

consensus/vbft/event_timer_test.go:26–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24import "testing"
25
26func constructEventTimer() *EventTimer {
27 server := constructServer()
28 return NewEventTimer(server)
29}
30
31func TestStartTimer(t *testing.T) {
32 eventtimer := constructEventTimer()

Callers 4

TestStartTimerFunction · 0.85
TestCancelTimerFunction · 0.85
TestStartEventTimerFunction · 0.85
TestCancelEventTimerFunction · 0.85

Calls 2

constructServerFunction · 0.85
NewEventTimerFunction · 0.85

Tested by

no test coverage detected