goscenario

package
v0.0.0-...-37f45be Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	McarApi *api.MCARApi = nil
)

Functions

func Call

func Call(any interface{}, name string, params []interface{}) (result []reflect.Value, err error)

func MethodTest

func MethodTest(t *testing.T, tc TestCases) (string, error)

func SetUpForGrpc

func SetUpForGrpc()

func TearDownForGrpc

func TearDownForGrpc()

Types

type TestCases

type TestCases struct {
	Name                string
	Instance            interface{}
	Method              string
	Args                []interface{}
	ExpectResStartsWith string
	ExpectResContains   string
}

Jump to

Keyboard shortcuts

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