utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnInit sync.Mutex
)

Functions

func EnableTestDebug

func EnableTestDebug()

EnableTestDebug sets env vars for debugging tested machines with am-dbg at port 9913.

func NewCustomStates

func NewCustomStates(t *testing.T, states am.Struct) *am.Machine

NewCustomStates creates a new machine with custom ss.

func NewNoRels

func NewNoRels(t *testing.T, initialState am.S) *am.Machine

NewNoRels creates a new machine without relations between ss.

func NewRels

func NewRels(t *testing.T, initialState am.S) *am.Machine

NewRels creates a new machine with basic relations between ss.

func RandListener

func RandListener(host string) net.Listener

func RandPort

func RandPort(min, max int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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