Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EventType is a the type for Event. EventType eh.EventType = "CodecEvent" )
Variables ¶
This section is empty.
Functions ¶
func EventCodecAcceptanceTest ¶
func EventCodecAcceptanceTest(t *testing.T, c eh.EventCodec, expectedBytes []byte)
EventCodecAcceptanceTest is the acceptance test that all implementations of Codec should pass. It should manually be called from a test case in each implementation:
func TestEventCodec(t *testing.T) { c := EventCodec{} expectedBytes = []byte("") eventbus.AcceptanceTest(t, c, expectedBytes) }
Types ¶
Click to show internal directories.
Click to hide internal directories.