Documentation ¶
Index ¶
- Variables
- func SubtestAll(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestCancelHandshakeInbound(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestCancelHandshakeOutbound(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestKeys(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestRW(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestStream(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
- func SubtestWrongPeer(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID)
Constants ¶
This section is empty.
Variables ¶
View Source
var Subtests = map[string]func(t *testing.T, at, bt sec.SecureTransport, ap, bp peer.ID){ "RW": SubtestRW, "Keys": SubtestKeys, "WrongPeer": SubtestWrongPeer, "Stream": SubtestStream, "CancelHandshakeInbound": SubtestCancelHandshakeInbound, "CancelHandshakeOutbound": SubtestCancelHandshakeOutbound, }
View Source
var TestMessage = []byte("hello world!")
View Source
var TestSeed int64 = 1812
View Source
var TestStreamLen int64 = 1024 * 1024
Functions ¶
func SubtestAll ¶
func SubtestKeys ¶
func SubtestStream ¶
func SubtestWrongPeer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.