Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2019 v0.1.0 Jul 23, 2018 Changes in this version + func ExpectDecodeConfig(t *testing.T, codec *mockstream.MockCodec, cfg *protectorpb.NetworkConfig) + func ExpectDecodeNodeID(t *testing.T, codec *mockstream.MockCodec, nodeID *pb.NodeIdentity) + func ExpectDecodeSegment(t *testing.T, codec *mockstream.MockCodec, s *indigopb.Segment) + func ExpectDecodeUpdateProp(t *testing.T, codec *mockstream.MockCodec, prop *pb.UpdateProposal) + func ExpectDecodeVote(t *testing.T, codec *mockstream.MockCodec, vote *pb.Vote) + func ExpectEncodeAck(t *testing.T, codec *mockstream.MockCodec, err error) + func ExpectEncodeAllowed(t *testing.T, codec *mockstream.MockCodec, peerID peer.ID) + func ExpectEncodeNetworkState(t *testing.T, codec *mockstream.MockCodec, state protectorpb.NetworkState) + func ExpectEncodeVote(t *testing.T, codec *mockstream.MockCodec, r *proposal.Request) + func ExpectStreamPeerAndProtocol(t *testing.T, p *mockstream.MockProvider, peerID peer.ID, pid protocol.ID, ...)