Display Settings L3 Low Level Test Specification and Procedure Documentation
Acronyms, Terms and Abbreviations
HAL
- Hardware Abstraction Layer, may include some common componentsUT
- Unit Test(s)OEM
- Original Equipment ManufactureL3
- Level 3 TestingDS
- Device SettingsEDID
- Extended Display Identification DataDUT
- Device Under TestRAFT
- Rapid Automation Framework for TestingY
- yes supportedNA
- Not Supported
Overview
This document describes the L3 Test Procedure for the Device Settings Display module.
References
Display Interface file
- dsDisplay.hHigh Level Test Specification
- ds-display_High-Level_TestSpecification.md
Level 3 Test Cases High Level Overview
Below are the top test use cases for the display.
# | Test-case | Description | HAL APIs | Source | Sink |
---|---|---|---|---|---|
1 | Verify Display Events with callbacks | Connect/disconnect the display device on each port and verify that the callbacks are triggered for display connected, display disconnected, Rx Sense ON, Rx Sense OFF, and HDCP protocol version change events | dsRegisterDisplayEventCallback() |
Y |
Y |
2 | Retrieves and interprets EDID information | Connect various pre-defined displays to the device, retrieve their EDID information, and compare it against the expected EDID data | dsGetEDID() |
Y |
NA |
3 | Gets the EDID buffer and EDID length | Verify that the edid buffer contains the expected EDID data, and the length is accurate | dsGetEDIDBytes() |
Y |
NA |
4 | Gets Aspect Ratio | Verify that the aspect ratio of the display is correctly retrieved and matches the expected value for a given configuration | dsGetDisplayAspectRatio() |
Y |
NA |
Level 3 Python Test Cases High Level Overview
The class diagram below illustrates the flow of dsDisplay L3 Python test cases:
---
title: dsDisplay- Python Class Flow
---
classDiagram
testControl <|-- ut_raft : inherits
class ut_raft{
}
ut_raft <|-- L3_TestClasses : inherits
ut_raft <|-- dsDisplayHelperClass : inherits
dsDisplayHelperClass <|-- L3_TestClasses : inherits
L3_TestClasses ..> dsDisplay : uses
note for testControl "uses rackConfig.yaml and deviceConfig.yaml"
note for dsDisplay "uses platformProfile.yaml"
note for L3_TestClasses "uses testSetupConfig.yaml"
note for ut_raft "suite Navigator uses testConfig.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.
- dsDisplay
- This is test helper class which communicates with the
L3
C/C++ test running on theDUT
through menu - L3TestClasses
- 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 dsDisplay_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 dsDisplay_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 dsDisplay_testConfig.yml