Merge "Relax strictness of mocks in DisplayLayoutTests" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ff95cd095c
@@ -47,6 +47,7 @@ import org.junit.After;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.mockito.MockitoSession;
|
import org.mockito.MockitoSession;
|
||||||
|
import org.mockito.quality.Strictness;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for {@link DisplayLayout}.
|
* Tests for {@link DisplayLayout}.
|
||||||
@@ -62,6 +63,7 @@ public class DisplayLayoutTest extends ShellTestCase {
|
|||||||
public void setup() {
|
public void setup() {
|
||||||
mMockitoSession = mockitoSession()
|
mMockitoSession = mockitoSession()
|
||||||
.initMocks(this)
|
.initMocks(this)
|
||||||
|
.strictness(Strictness.WARN)
|
||||||
.mockStatic(SystemBarUtils.class)
|
.mockStatic(SystemBarUtils.class)
|
||||||
.startMocking();
|
.startMocking();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user