commit | 07f0a4328bc5a3acfb51b975c924659221ed7b21 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Wed Oct 09 14:50:13 2019 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Wed Oct 09 14:53:53 2019 +0900 |
tree | 3f214b09388ba62f728dee4881c09ae275f51e63 | |
parent | e29d2e79179cc4da9a8b3cfcde7c2d97fa6b8324 [diff] |
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