Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitteeSpecTest ¶
type CommitteeSpecTest struct { Name string Committee *ssv.Committee Input []interface{} // Can be a types.Duty or a *types.SignedSSVMessage PostDutyCommitteeRoot string PostDutyCommittee types.Root `json:"-"` // Field is ignored by encoding/json OutputMessages []*types.PartialSignatureMessages BeaconBroadcastedRoots []string ExpectedError string }
func (*CommitteeSpecTest) GetPostState ¶
func (test *CommitteeSpecTest) GetPostState() (interface{}, error)
func (*CommitteeSpecTest) Run ¶
func (test *CommitteeSpecTest) Run(t *testing.T)
Run as an individual test
func (*CommitteeSpecTest) RunAsPartOfMultiTest ¶
func (test *CommitteeSpecTest) RunAsPartOfMultiTest(t *testing.T)
RunAsPartOfMultiTest runs the test as part of a MultiCommitteeSpecTest
func (*CommitteeSpecTest) TestName ¶
func (test *CommitteeSpecTest) TestName() string
type MultiCommitteeSpecTest ¶
type MultiCommitteeSpecTest struct { Name string Tests []*CommitteeSpecTest }
func (*MultiCommitteeSpecTest) GetPostState ¶
func (tests *MultiCommitteeSpecTest) GetPostState() (interface{}, error)
func (*MultiCommitteeSpecTest) Run ¶
func (tests *MultiCommitteeSpecTest) Run(t *testing.T)
func (*MultiCommitteeSpecTest) TestName ¶
func (tests *MultiCommitteeSpecTest) TestName() string
Click to show internal directories.
Click to hide internal directories.