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

Skip to content
Commit 07f0a432 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Improve test using Mockito.argThat() matcher

Instead of matching any() display, this CL uses argThat() matcher to
verify only for DEFAULT_DISPLAY.

Note that initializeDisplayManger() helper does nothing in those tests
because DisplayManager instance in NavigationBarController is already
initialized in @Before and can't be replaced with a mock.

Bug: 142293903
Test: atest SystemUITests:NavigationBarControllerTest
Change-Id: Ic203f06a9612681ca41025596800b320c2307c09
parent e29d2e79
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