Documentation ¶
Index ¶
- type ControllerSyncSpecTest
- func Cleanup() *ControllerSyncSpecTest
- func DuplicateSigner() *ControllerSyncSpecTest
- func F1FutureMsgs() *ControllerSyncSpecTest
- func InvalidMsg() *ControllerSyncSpecTest
- func MultiSigners() *ControllerSyncSpecTest
- func NoSigners() *ControllerSyncSpecTest
- func UnknownSigner() *ControllerSyncSpecTest
- func WrongSig() *ControllerSyncSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerSyncSpecTest ¶
type ControllerSyncSpecTest struct { Name string InputMessages []*qbft.SignedMessage SyncDecidedCalledCnt int ControllerPostRoot string ExpectedError string }
func Cleanup ¶
func Cleanup() *ControllerSyncSpecTest
Cleanup tests cleaning up future msgs container
func DuplicateSigner ¶
func DuplicateSigner() *ControllerSyncSpecTest
DuplicateSigner tests multiple future msg for the same signer (doesn't trigger futuremsg)
func F1FutureMsgs ¶
func F1FutureMsgs() *ControllerSyncSpecTest
F1FutureMsgs tests a f+1 future msgs that trigger decided sync
func MultiSigners ¶
func MultiSigners() *ControllerSyncSpecTest
MultiSigners tests future msg with multiple signers
func NoSigners ¶
func NoSigners() *ControllerSyncSpecTest
NoSigners tests future msg with no signers
func UnknownSigner ¶
func UnknownSigner() *ControllerSyncSpecTest
UnknownSigner tests future msg signed by unknown signer
func (*ControllerSyncSpecTest) Run ¶
func (test *ControllerSyncSpecTest) Run(t *testing.T)
func (*ControllerSyncSpecTest) TestName ¶
func (test *ControllerSyncSpecTest) TestName() string
Click to show internal directories.
Click to hide internal directories.