drivertest

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoregisterTest

func AutoregisterTest(t *testing.T, drv drivers.Driver)

2. Autoregister via midi.RegisterDriver(drv) within init function 3. The String() method must return a unique and indentifying string

func DriverInterfaceImplementationTest

func DriverInterfaceImplementationTest(t *testing.T, drv interface{})

1. Implement the midi.Driver, midi.In and midi.Out interfaces

func FullStatusTest

func FullStatusTest(t *testing.T, in drivers.In, out drivers.Out)

func NoActiveSenseTest

func NoActiveSenseTest(t *testing.T, in drivers.In, out drivers.Out)

9. The midi In port must check the ListenConfig and act accordingly.

func NoSysexTest

func NoSysexTest(t *testing.T, in drivers.In, out drivers.Out)

func NoTimeCodeTest

func NoTimeCodeTest(t *testing.T, in drivers.In, out drivers.Out)

9. The midi In port must check the ListenConfig and act accordingly.

func RunningStatusTest

func RunningStatusTest(t *testing.T, in drivers.In, out drivers.Out)

5. The midi.In ports respects any running status bytes when converting to midi.Message(s) 6. The midi.Out ports accept running status bytes.

func SysexTest

func SysexTest(t *testing.T, in drivers.In, out drivers.Out)

Types

This section is empty.

Jump to

Keyboard shortcuts

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