Documentation ¶
Index ¶
- func ActorAddressProvider(size int) func(*testing.T) address.Address
- func AddressProvider() func(*testing.T) address.Address
- func BigProvider() func(*testing.T) big.Int
- func BlsAddressProvider() func(*testing.T) address.Address
- func BytesAtMostProvider(size int) func(*testing.T) []byte
- func BytesFixedProvider(size int) func(*testing.T) []byte
- func CborErBasicTest(t *testing.T, src, dst cbor.Er, opts CborErBasicTestOptions)
- func CidProvider(size int) func(*testing.T) cid.Cid
- func CryptoSigTypeProvider() func(*testing.T) crypto.SigType
- func DelegatedAddressProvider(size int) func(*testing.T) address.Address
- func IDAddressProvider() func(*testing.T) address.Address
- func IntProvider(t *testing.T) int
- func IntRangedProvider(min, max int) func(*testing.T) int
- func MustRegisterDefaultValueProvier(fn interface{})
- func NegativeBigProvider() func(*testing.T) big.Int
- func PaddedSizeFixedProvider(fixed abi.PaddedPieceSize) func(*testing.T) abi.PaddedPieceSize
- func PaddedSizeProvider() func(*testing.T) abi.PaddedPieceSize
- func PositiveBigProvider() func(*testing.T) big.Int
- func Provide(t *testing.T, dst interface{}, options ...interface{})
- func RegisterDefaultValueProvier(fn interface{}) error
- func SecpAddressProvider(size int) func(*testing.T) address.Address
- func StringInnerAtMostProvider(size int) func(*testing.T) string
- func StringInnerFixedProvider(size int) func(*testing.T) string
- func UnpaddedSizeProvider() func(*testing.T) abi.UnpaddedPieceSize
- func ValueSetNReset(t *testing.T, name string, onSet func(), onReset func(), vsets ...interface{})
- type CborErBasicTestOptions
- type OptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActorAddressProvider ¶
func AddressProvider ¶
func BlsAddressProvider ¶
func CborErBasicTest ¶
func CborErBasicTest(t *testing.T, src, dst cbor.Er, opts CborErBasicTestOptions)
func CidProvider ¶
func DelegatedAddressProvider ¶ added in v1.10.0
func IDAddressProvider ¶
func IntProvider ¶
func MustRegisterDefaultValueProvier ¶
func MustRegisterDefaultValueProvier(fn interface{})
func PaddedSizeFixedProvider ¶
func PaddedSizeFixedProvider(fixed abi.PaddedPieceSize) func(*testing.T) abi.PaddedPieceSize
func PaddedSizeProvider ¶
func PaddedSizeProvider() func(*testing.T) abi.PaddedPieceSize
func RegisterDefaultValueProvier ¶
func RegisterDefaultValueProvier(fn interface{}) error
func SecpAddressProvider ¶
func UnpaddedSizeProvider ¶
func UnpaddedSizeProvider() func(*testing.T) abi.UnpaddedPieceSize
func ValueSetNReset ¶
Types ¶
type CborErBasicTestOptions ¶
type OptionFunc ¶
func WithSliceLen ¶
func WithSliceLen(size int) OptionFunc
Click to show internal directories.
Click to hide internal directories.