Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15c84c9f authored by AI test gen's avatar AI test gen Committed by Ang Li
Browse files

Add test for multi-display cutout handling in SysUICutoutProvider

Adds a unit test to verify that `SysUICutoutProviderImpl` correctly uses the display associated with its injected `@DisplayAware` context.

The test simulates a multi-display scenario by creating two instances of the provider: one for a display with a cutout and one for a display without. It then asserts that each provider returns the correct cutout information for its respective display, confirming that the behavior is dependent on the injected context.



Please help fill out the survey for feedback: https://docs.google.com/forms/d/e/1FAIpQLSeKFKpHImCAqZIa_OR801cw72HQUreM2oGM25C3mKKT2tBFnw/viewform?usp=pp_url&entry.1586624956=ag/35397076

Original Change: ag/35058391
Test: ATP tests passed http://go/forrest-run/L00900030017378414
Bug: 431235865
Flag: TEST_ONLY

Change-Id: I5c1d0eb36be8ee3ac07c33dd824907735995669c
parent 04721557
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment