Implement Unittests for Test Modeset and Commit Modeset.
1. Extend Mock DRM Device to get a count of test | modeset and modeset commit flags. 2. Test of the expected number of test modeset and commit modeset on displays enable/disable. BUG=b/172622447 TEST=ScreenManagerTest.{CheckWithNoControllers, CheckWithValidController, CheckForSecondValidController, CheckControllerAfterDisabled, CheckMultipleControllersAfterBeingRemoved, CheckMultipleControllersAfterBeingDisabled} Change-Id: Iac4b1fae4119677dad19b904ff6b1923d18b6a5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526944Reviewed-by:Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Mark Yacoub <markyacoub@google.com> Cr-Commit-Position: refs/heads/master@{#825405}
Showing
Please register or sign in to comment