Module test

Source
Expand description

Helpers and mocks for writing tests

Structs§

TestHandle

Enums§

TestStatus
The status of the current device. Retrievable via TestHandle::status.

Functions§

mock_dai_dev_with_io_devices
Builds and returns a VFS with a mock input and output DAI device.
test_digital_audio_interface
Builds and returns a DigitalAudioInterface for testing scenarios. Returns the TestHandle associated with this device which can be used to validate behavior.