Documentation
¶
Overview ¶
Package axtest contains testing utilities and reusable test suites for implementations of various Ax components.
Index ¶
- func ConsistsOfEnvelopes(a []ax.Envelope, b ...ax.Envelope) bool
- func ConsistsOfInboundEnvelopes(a []endpoint.InboundEnvelope, b ...endpoint.InboundEnvelope) bool
- func ConsistsOfMessages(a []proto.Message, b ...proto.Message) bool
- func ConsistsOfOutboundEnvelopes(a []endpoint.OutboundEnvelope, b ...endpoint.OutboundEnvelope) bool
- func ContainsEnvelope(v []ax.Envelope, env ax.Envelope) bool
- func ContainsInboundEnvelope(v []endpoint.InboundEnvelope, env endpoint.InboundEnvelope) bool
- func ContainsMessage(v []proto.Message, m proto.Message) bool
- func ContainsOutboundEnvelope(v []endpoint.OutboundEnvelope, env endpoint.OutboundEnvelope) bool
- func EnvelopesEqual(a, b ax.Envelope) bool
- func InboundEnvelopesEqual(a, b endpoint.InboundEnvelope) bool
- func OutboundEnvelopesEqual(a, b endpoint.OutboundEnvelope) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsistsOfEnvelopes ¶
ConsistsOfEnvelopes returns true if a and b contain equal messages, regardless of order.
func ConsistsOfInboundEnvelopes ¶
func ConsistsOfInboundEnvelopes(a []endpoint.InboundEnvelope, b ...endpoint.InboundEnvelope) bool
ConsistsOfInboundEnvelopes returns true if a and b contain equal messages, regardless of order.
func ConsistsOfMessages ¶
ConsistsOfMessages returns true if a and b contain equal messages, regardless of order.
func ConsistsOfOutboundEnvelopes ¶
func ConsistsOfOutboundEnvelopes(a []endpoint.OutboundEnvelope, b ...endpoint.OutboundEnvelope) bool
ConsistsOfOutboundEnvelopes returns true if a and b contain equal messages, regardless of order.
func ContainsEnvelope ¶
ContainsEnvelope returns true if v contains an envelope equal to m.
func ContainsInboundEnvelope ¶
func ContainsInboundEnvelope(v []endpoint.InboundEnvelope, env endpoint.InboundEnvelope) bool
ContainsInboundEnvelope returns true if v contains an envelope equal to m.
func ContainsMessage ¶
ContainsMessage returns true if v contains a message equal to m.
func ContainsOutboundEnvelope ¶
func ContainsOutboundEnvelope(v []endpoint.OutboundEnvelope, env endpoint.OutboundEnvelope) bool
ContainsOutboundEnvelope returns true if v contains an envelope equal to m.
func EnvelopesEqual ¶
EnvelopesEqual returns true if a and b are equivalent.
func InboundEnvelopesEqual ¶
func InboundEnvelopesEqual(a, b endpoint.InboundEnvelope) bool
InboundEnvelopesEqual returns true if a and b are equivalent.
func OutboundEnvelopesEqual ¶
func OutboundEnvelopesEqual(a, b endpoint.OutboundEnvelope) bool
OutboundEnvelopesEqual returns true if a and b are equivalent.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package delayedmessagetests contains functional test suites for implementations of delayed messaging features.
|
Package delayedmessagetests contains functional test suites for implementations of delayed messaging features. |
Package outboxtests contains functional test suites for implementations of outbox related features.
|
Package outboxtests contains functional test suites for implementations of outbox related features. |