endpointtest

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunJSONTest

func RunJSONTest(testFilePath string, vmp VMProvider, world *worldhook.BlockchainHookMock) error

RunJSONTest ... only playing around for now

func TestAllInDirectory

func TestAllInDirectory(t *testing.T, generalTestPath string, specificTestPath string, vmp VMProvider, world *worldhook.BlockchainHookMock)

TestAllInDirectory ... walk directory and run all .iele.json tests

Types

type VMProvider

type VMProvider interface {
	GetVM(scheduleName string) (vmi.VMExecutionHandler, error)
}

VMProvider is an interface used by the tests to get the right VM version for the required schedule

Jump to

Keyboard shortcuts

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