Increase coverage in MenuControllerTest.TestSubmenuFitsOnScreen
The tests submitted with the original CL (crrev.com/c/1790475) did not exercise every new code path. This CL fixes that. Also added SetRTLForTesting(false) to TearDown to avoid affecting the global environment. Bug: 991227 Test: MenuControllerTest Change-Id: I80c1d1089cd8032c67b4d046fa61a64ec1db6afc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808090Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Vladislav Kaznacheev <kaznacheev@chromium.org> Cr-Commit-Position: refs/heads/master@{#697093}
Showing
Please register or sign in to comment