(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func 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 | |
| 45 | func TestEventSummary(t *testing.T) { |
| 46 | evt := &Event{ |
nothing calls this directly
no test coverage detected