Unit Testing Suite For RMF Audio Capture HAL
Table of Contents
Acronyms, Terms and Abbreviations
L1
- Functional Tests
HAL
- Hardware Abstraction Layer
Description
This repository contains the Unit Test Suites (L1) for RMF Audio Capture HAL
.
Reference Documents
SNo |
Document Name |
Document Description |
Document Link |
1 |
HAL Specification Document |
This document provides specific information on the APIs for which tests are written in this module |
rmf-audio-capture_halSpec.md |
2 |
L1 Tests |
L1 Test Case File for this module |
test_l1_rmfAudioCapture.c |
Notes
- All APIs need to be implemented in this current version. If any API is not supported, please add stub implementation with return type RMF_SUCCESS for the same.
- Building against the actual library may introduce SOC dependencies. Hence, a template SKELETON library is created without SOC dependencies. On the real platform (target), it can be mounted, copied and bound with the actual library.
- When running the binary, remember to include a profile file as an argument for designated test cases. The following example illustrates this:
./hal_test -p rmfAudioCaptureExtendedEnumsNotSupported.yml
- Profiles file available in profile yaml file