MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / TestEventIsNetworkUDP

Function TestEventIsNetworkUDP

pkg/event/event_windows_test.go:38–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestEventIsNetworkUDP(t *testing.T) {
39 e1 := Event{Type: RecvUDPv4}
40 e2 := Event{Type: SendTCPv6}
41 assert.True(t, e1.IsNetworkUDP())
42 assert.False(t, e2.IsNetworkUDP())
43}
44
45func TestEventSummary(t *testing.T) {
46 evt := &Event{

Callers

nothing calls this directly

Calls 1

IsNetworkUDPMethod · 0.95

Tested by

no test coverage detected