mockmatlab

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvMockMATLABConfig = mockruntime.EnvMockMATLABConfig
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = mockruntime.Config

func ExitImmediatelyConfig

func ExitImmediatelyConfig(exitCode int) Config

func HangBeforeFilesConfig

func HangBeforeFilesConfig() Config

func HappyConfig

func HappyConfig() Config

func SlowStartupConfig

func SlowStartupConfig(delayMs int) Config

func StartupFailureConfig

func StartupFailureConfig() Config

type Installation

type Installation struct {
	MATLABRoot string
}

func BuildAndInstall

func BuildAndInstall(t *testing.T) *Installation

type Session

type Session struct {
	SessionDir string
	APIKey     string
	// contains filtered or unexported fields
}

func StartSession

func StartSession(ctx context.Context, installation *Installation, cfg Config) (*Session, error)

func (*Session) ProcessExited

func (s *Session) ProcessExited() bool

func (*Session) Stop

func (s *Session) Stop() error

func (*Session) Wait

func (s *Session) Wait() error

func (*Session) WaitForReady

Directories

Path Synopsis
executable
main command

Jump to

Keyboard shortcuts

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