Documentation ¶
Index ¶
- Variables
- func Assert(tb TB, condition bool, format string, a ...interface{})
- func Dial(t *testing.T) net.Conn
- func Equals(tb TB, exp, act interface{})
- func MakeMessagePublish(t *testing.T, topic string) []byte
- func MakeMessageRegister(t *testing.T, serviceName string, serviceIdent string) []byte
- func MakeMessageReply(t *testing.T, msgId uint64, payload []byte) []byte
- func MakeMessageRequest(t *testing.T, service string, ident string, method string, payload []byte) []byte
- func MakeMessageSubscribe(t *testing.T, topic string) []byte
- func MessageForNetwork(t *testing.T, msg *cellaserv.Message) []byte
- func MsgTypeIs(t *testing.T, msg *cellaserv.Message, msgType cellaserv.Message_MessageType)
- func NotOk(tb TB, err error, format string, a ...interface{})
- func Ok(tb TB, err error)
- func RecvMessage(t *testing.T, conn net.Conn) *cellaserv.Message
- func RecvReply(t *testing.T, conn net.Conn) []byte
- type TB
Constants ¶
This section is empty.
Variables ¶
View Source
var NextMessageRequestId uint64
Functions ¶
func Equals ¶
func Equals(tb TB, exp, act interface{})
Equals fails the test if exp is not equal to act.
func MakeMessageRegister ¶
func MakeMessageRequest ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.