Documentation ¶
Index ¶
- func EnableLogging(t *testing.T)
- func MakeBlobManifest(length uint64, chunks ...blob.ManifestChunk) blob.Manifest
- func RandomAddress(t *testing.T) types.Address
- func RandomAsymEncPubkey(t *testing.T) *crypto.AsymEncPubkey
- func RandomBytes(t *testing.T, length int) []byte
- func RandomDuration(t *testing.T, max time.Duration) time.Duration
- func RandomHash(t *testing.T) types.Hash
- func RandomIdentity(t *testing.T) identity.Identity
- func RandomSigningPublicKey(t *testing.T) *crypto.SigningPublicKey
- func RandomString(t *testing.T, n int) string
- func RandomTime(t *testing.T) time.Time
- func ReadCloserFromString(s string) io.ReadCloser
- func SetupDBTree(t *testing.T) *state.DBTree
- func SetupDBTreeWithValue(t *testing.T, keypath state.Keypath, val interface{}) *state.DBTree
- func SetupVersionedDBTree(t *testing.T) *state.VersionedDBTree
- func SetupVersionedDBTreeWithValue(t *testing.T, keypath state.Keypath, val interface{}) *state.VersionedDBTree
- type Awaiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableLogging ¶
func MakeBlobManifest ¶
func MakeBlobManifest(length uint64, chunks ...blob.ManifestChunk) blob.Manifest
func RandomAsymEncPubkey ¶
func RandomAsymEncPubkey(t *testing.T) *crypto.AsymEncPubkey
func RandomSigningPublicKey ¶
func RandomSigningPublicKey(t *testing.T) *crypto.SigningPublicKey
func ReadCloserFromString ¶
func ReadCloserFromString(s string) io.ReadCloser
func SetupDBTreeWithValue ¶
func SetupVersionedDBTree ¶
func SetupVersionedDBTree(t *testing.T) *state.VersionedDBTree
Types ¶
type Awaiter ¶
type Awaiter chan struct{}
func NewAwaiter ¶
func NewAwaiter() Awaiter
func (Awaiter) AwaitOrFail ¶
func (Awaiter) ItHappened ¶
func (a Awaiter) ItHappened()
func (Awaiter) NeverHappenedOrFail ¶
Click to show internal directories.
Click to hide internal directories.