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, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpecTest

type SpecTest struct {
	Name               string
	Pre                *qbft.Instance
	PostRoot           string
	OutputMessages     []*qbft.SignedMessage
	ExpectedTimerState *testingutils.TimerState
	ExpectedError      string
}

func Round1

func Round1() *SpecTest

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

func Round2

func Round2() *SpecTest

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

func Round20

func Round20() *SpecTest

Round20 tests calling UponRoundTimeout for round 20, testing state and broadcasted msgs

func Round3

func Round3() *SpecTest

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

func Round5

func Round5() *SpecTest

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

func (*SpecTest) Run

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

func (*SpecTest) TestName

func (test *SpecTest) TestName() string

Jump to

Keyboard shortcuts

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