qbft

package
v1.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunControllerSpecTest

func RunControllerSpecTest(t *testing.T, test *spectests.ControllerSpecTest)

func RunCreateMsg

func RunCreateMsg(t *testing.T, test *spectests.CreateMsgSpecTest)

func RunMsg

func RunMsg(t *testing.T, test *spectests.MsgSpecTest)

func RunMsgProcessing

func RunMsgProcessing(t *testing.T, test *spectests.MsgProcessingSpecTest)

RunMsgProcessing processes MsgProcessingSpecTest. It probably may be removed.

func RunTimeout

func RunTimeout(t *testing.T, test *SpecTest)

Types

type SpecTest

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

Jump to

Keyboard shortcuts

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