harness

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Network

func Network(f canFail) *acceptanceTestNetworkBuilder

Types

type TestNetworkDriver

type TestNetworkDriver interface {
	inmemory.NetworkDriver
	GetBenchmarkTokenContract() contracts.BenchmarkTokenClient
	TransportTamperer() testGossipAdapter.Tamperer
	Description() string
	BlockPersistence(nodeIndex int) blockStorageAdapter.InMemoryBlockPersistence
	DumpState()
	WaitForTransactionInNodeState(ctx context.Context, txhash primitives.Sha256, nodeIndex int)
	MockContract(fakeContractInfo *sdkContext.ContractInfo, code string)
}

Directories

Path Synopsis
services
gossip/adapter
Package adapter extends the in-process transport adapter with Tampering capabilities, intended to be used by system-wide acceptance tests
Package adapter extends the in-process transport adapter with Tampering capabilities, intended to be used by system-wide acceptance tests

Jump to

Keyboard shortcuts

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