timeout

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Round1

func Round1() tests.SpecTest

Round1 tests calling UponRoundTimeout for round 1, testing state and broadcasted msgs

func Round15 added in v0.3.1

func Round15() tests.SpecTest

Round15 tests calling UponRoundTimeout for round 15, testing state and broadcasted msgs

func Round2

func Round2() tests.SpecTest

Round2 tests calling UponRoundTimeout for round 2, testing state and broadcasted msgs

func Round3

func Round3() tests.SpecTest

Round3 tests calling UponRoundTimeout for round 3, testing state and broadcasted msgs

func Round5

func Round5() tests.SpecTest

Round5 tests calling UponRoundTimeout for round 5, testing state and broadcasted msgs

Types

type SpecTest added in v0.3.0

type SpecTest struct {
	Name               string
	Pre                *qbft.Instance
	PostRoot           string
	PostState          types.Root `json:"-"` // Field is ignored by encoding/json
	OutputMessages     []*qbft.SignedMessage
	ExpectedTimerState *testingutils.TimerState
	ExpectedError      string
}

func (*SpecTest) GetPostState added in v0.3.1

func (test *SpecTest) GetPostState() (interface{}, error)

func (*SpecTest) Run added in v0.3.0

func (test *SpecTest) Run(t *testing.T)

func (*SpecTest) TestName added in v0.3.0

func (test *SpecTest) TestName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL