Device Settings Front Panel Display L3 Low Level Test Specification and Procedure Documentation
Overview
This document describes the L3 Low Level Test Specification and Procedure Documentation for the Device Settings Front Panel Display module.
Acronyms, Terms and Abbreviations
HAL
- Hardware Abstraction Layer, may include some common componentsUT
- Unit Test(s)OEM
- Original Equipment ManufactureSoC
- System on a ChipLED
- Light Emitting DiodeFPD
- Front Panel DisplayY
- yes supportedNA
- Not Supported
References
High Level Test Specification
- dsFrontPanelDevice High Level TestSpecInterface header [4.0.0]
- dsFPD HAL header
Level 3 Test Cases High Level Overview
# | Test-case | Description | HAL APIs | Source | Sink |
---|---|---|---|---|---|
1 | Verify LED can be set On and OFF | Verify all the supported LED on the DUT can be powered on or off. The User to vaidate the same reflected in DUT. | dsSetFPState() |
Y |
Y |
2 | Check Brightness Control | Verify the brightness control for all the supported LED on the DUT by changing the brightness Settings. The User to vaidate the same reflected in DUT. | dsSetFPBrightness() |
Y |
Y |
3 | Check LED Blink funciton | Verify all the supported LED on the DUT can be set with supported Blink rates. The User to vaidate the same reflected in DUT. | dsSetFPBlink() |
Y |
Y |
4 | Verify LED Color support | Verify all the supported LED on the DUT can be set to supported colors. The User to vaidate the same reflected in DUT. | dsSetFPColor() |
Y |
Y |
5 | Verify All the Supported State pattern of LED | Verify the Front Panel LED can all the supported states on the DUT. The User to vaidate the same reflected in DUT. | dsFPSetLEDState() |
Y |
Y |
Level 3 Python Test Cases High Level Overview
The class diagram below illustrates the flow of dsAudio L3 Python test cases:
---
title: dsFPD - Python Class Flow
---
classDiagram
testControl <|-- ut_raft : inherits
class ut_raft{
}
ut_raft <|-- L3_TestClasses : inherits
L3_TestClasses ..> dsFPD : uses
note for testControl "uses rackConfig.yaml and deviceConfig.yaml"
note for dsFPD "uses platformProfile.yaml"
note for L3_TestClasses "uses testSetupConfig.yaml"
note for ut_raft "suite Navigator uses testSuite.yaml"
- testControl
- Test Control Module for running rack Testing. This module configures the
DUT
based on the rack configuration file provided to the test. - This class is defined in
RAFT
framework. For more details refer RAFT - ut_raft
- Python based testing framework for writing engineering tests.
- It provides common functionalities like menu navigation, configuration reader, reading user response etc.
- For more details ut-raft.
- dsFPD
- This is test helper class which communicates with the
L3
C/C++ test running on theDUT
through menu - L3_TestClasses
- These are the L3 test case classes
- Each class covers the each test use-case defined in L3 Test use-cases table
YAML File Inputs
- rackConfig.yaml
- Identifies the rack configuration and platform used
- References platform-specific config from
deviceConfig.yaml
-
For more details refer RAFT and example_rack_config.yml
-
deviceConfig.yaml
- Specifies overall configuration for the platform
- Can be overridden by:
- Changing locally .yaml file directory
- Using --deviceConfig command line switch
-
For more details refer RAFT and example_device_config.yml
-
componentProfile.yaml/platformProfile.yaml
- Contains component-specific configurations
- Contains platform wide configuration broken down into separate components
-
Example configuration file dsFPD_Settings
-
testSetupConfig.yaml
- This configuration file contains the list of requirements for tests to execute. Eg: Copying the streams, setting environment variables etc.
-
Example configuration file dsFPD_L3_testSetup.yml
-
testConfig.yaml
- This configuration file contains the list of menu items for C/C++ L3 test running on
DUT
- Example configuration file dsFPD_testConfig.yml