Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
import
"testing"
25
26
func
constructEventTimer() *EventTimer {
27
server := constructServer()
28
return
NewEventTimer(server)
29
}
30
31
func
TestStartTimer(t *testing.T) {
32
eventtimer := constructEventTimer()
Callers
4
TestStartTimer
Function · 0.85
TestCancelTimer
Function · 0.85
TestStartEventTimer
Function · 0.85
TestCancelEventTimer
Function · 0.85
Calls
2
constructServer
Function · 0.85
NewEventTimer
Function · 0.85
Tested by
no test coverage detected