Documentation
¶
Overview ¶
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/core/test.
Index ¶
- func AssertAddressesEqual(t *testing.T, exp, act []ma.Multiaddr)deprecated
- func AssertNilError(t *testing.T, err error)deprecated
- func ExpectError(t *testing.T, err error, msg string)deprecated
- func GenerateTestAddrs(n int) []ma.Multiaddrdeprecated
- func RandPeerID() (peer.ID, error)deprecated
- func RandPeerIDFatal(t testing.TB) peer.IDdeprecated
- func RandTestKeyPair(typ, bits int) (ci.PrivKey, ci.PubKey, error)deprecated
- func SeededTestKeyPair(typ, bits int, seed int64) (ci.PrivKey, ci.PubKey, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAddressesEqual
deprecated
func AssertNilError
deprecated
func ExpectError
deprecated
func GenerateTestAddrs
deprecated
func RandPeerID
deprecated
func RandPeerIDFatal
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.