diff options
| author | 2022-08-10 18:10:58 +0000 | |
|---|---|---|
| committer | 2022-08-10 18:10:58 +0000 | |
| commit | b10f57a372415838e4cdb8e5d1e98dea083079ad (patch) | |
| tree | 8a9072fef96e527c814e13461642fb46dc0ccbcb | |
| parent | ae44aedeedb88ef8b2fb00a45566f593b868c4c4 (diff) | |
| parent | f4e832b93d57e85ef6c1649a7a630a81512643f1 (diff) | |
Merge "Relax strictness of mocks in DisplayLayoutTests" into tm-qpr-dev am: ff95cd095c am: f4e832b93d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19570392
Change-Id: Iff9baf80cde9e033daf9bcd5dd5de1512742cf9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/DisplayLayoutTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/DisplayLayoutTest.java b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/DisplayLayoutTest.java index 514390fa52f9..d467b399ebbb 100644 --- a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/DisplayLayoutTest.java +++ b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/DisplayLayoutTest.java @@ -47,6 +47,7 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.MockitoSession; +import org.mockito.quality.Strictness; /** * Tests for {@link DisplayLayout}. @@ -62,6 +63,7 @@ public class DisplayLayoutTest extends ShellTestCase { public void setup() { mMockitoSession = mockitoSession() .initMocks(this) + .strictness(Strictness.WARN) .mockStatic(SystemBarUtils.class) .startMocking(); } |