Documentation
¶
Index ¶
- func CreateTestBlobStore(t *testing.T) (blob.Store, func())
- func CreateTestDB(t *testing.T) (*leveldb.DB, func())
- func FillBlobRandom(t *testing.T, db *leveldb.DB, bs blob.Store, signer crypto.Signer, name string, ...) *wire.Update
- func FillBlobReader(t *testing.T, db *leveldb.DB, bs blob.Store, signer crypto.Signer, name string, ...) *wire.Update
- func RequireBlobsEqual(t *testing.T, localBS blob.Store, remoteBS blob.Store, name string)
- type AdditionalPeer
- type TestPeers
- type TestStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillBlobRandom ¶
func FillBlobReader ¶
Types ¶
type AdditionalPeer ¶
type AdditionalPeer struct { LocalPeer p2p.Peer RemotePeer p2p.Peer Signer crypto.Signer Mux *p2p.PeerMuxer }
func ConnectAdditionalPeer ¶
type TestPeers ¶
type TestPeers struct { LocalPeer p2p.Peer RemotePeer p2p.Peer LocalSigner crypto.Signer RemoteSigner crypto.Signer LocalMux *p2p.PeerMuxer RemoteMux *p2p.PeerMuxer }
func ConnectTestPeers ¶
type TestStorage ¶
func CreateStorage ¶
func CreateStorage(t *testing.T) (*TestStorage, func())
Click to show internal directories.
Click to hide internal directories.