Documentation ¶
Index ¶
- type EncodingTest
- type SignedSSVMessageTest
- func EmptySignature() *SignedSSVMessageTest
- func NilSSVMessage() *SignedSSVMessageTest
- func NoSignatures() *SignedSSVMessageTest
- func NoSigners() *SignedSSVMessageTest
- func NonUniqueSigner() *SignedSSVMessageTest
- func SignersAndSignaturesWithDifferentLength() *SignedSSVMessageTest
- func Valid() *SignedSSVMessageTest
- func ZeroSigner() *SignedSSVMessageTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingTest ¶
func (*EncodingTest) Run ¶
func (test *EncodingTest) Run(t *testing.T)
func (*EncodingTest) TestName ¶
func (test *EncodingTest) TestName() string
type SignedSSVMessageTest ¶
type SignedSSVMessageTest struct { Name string Messages []*types.SignedSSVMessage ExpectedError string RSAPublicKey [][]byte }
func EmptySignature ¶
func EmptySignature() *SignedSSVMessageTest
EmptySignature tests an invalid SignedSSVMessageTest with empty signature
func NilSSVMessage ¶ added in v1.0.0
func NilSSVMessage() *SignedSSVMessageTest
NilSSVMessage tests an invalid SignedSSVMessageTest with nil SSVMessage
func NoSignatures ¶ added in v1.0.0
func NoSignatures() *SignedSSVMessageTest
NoSignatures tests an invalid SignedSSVMessageTest with no signatures
func NoSigners ¶ added in v1.0.0
func NoSigners() *SignedSSVMessageTest
NoSigners tests an invalid SignedSSVMessageTest with no signers
func NonUniqueSigner ¶ added in v1.0.0
func NonUniqueSigner() *SignedSSVMessageTest
NonUniqueSigner tests an invalid SignedSSVMessageTest with non unique signers
func SignersAndSignaturesWithDifferentLength ¶ added in v1.0.0
func SignersAndSignaturesWithDifferentLength() *SignedSSVMessageTest
SignersAndSignaturesWithDifferentLength tests an invalid SignedSSVMessageTest with len(signers) != len(signatures)
func ZeroSigner ¶
func ZeroSigner() *SignedSSVMessageTest
ZeroSigner tests an invalid SignedSSVMessageTest with zero signer
func (*SignedSSVMessageTest) Run ¶
func (test *SignedSSVMessageTest) Run(t *testing.T)
func (*SignedSSVMessageTest) TestName ¶
func (test *SignedSSVMessageTest) TestName() string
Click to show internal directories.
Click to hide internal directories.