Home
last modified time | relevance | path

Searched refs:mockito (Results 1 – 25 of 145) sorted by relevance

123456

/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DGarbageCollectionHelperTest.java18 import static org.mockito.ArgumentMatchers.any;
19 import static org.mockito.Mockito.doAnswer;
20 import static org.mockito.Mockito.inOrder;
21 import static org.mockito.Mockito.verifyZeroInteractions;
31 import org.mockito.InOrder;
32 import org.mockito.Mock;
33 import org.mockito.MockitoAnnotations;
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/listener/
DBatteryTerminatorTest.java18 import static org.mockito.Mockito.any;
19 import static org.mockito.Mockito.never;
20 import static org.mockito.Mockito.when;
21 import static org.mockito.Mockito.verify;
35 import org.mockito.Mock;
36 import org.mockito.MockitoAnnotations;
DTimeoutTerminatorTest.java18 import static org.mockito.Mockito.never;
19 import static org.mockito.Mockito.verify;
30 import org.mockito.Mock;
31 import org.mockito.MockitoAnnotations;
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DJankListenerTest.java18 import static org.mockito.ArgumentMatchers.anyString;
19 import static org.mockito.Mockito.never;
20 import static org.mockito.Mockito.times;
21 import static org.mockito.Mockito.verify;
34 import org.mockito.Mock;
35 import org.mockito.MockitoAnnotations;
DDumpsysServiceListenerTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.Mockito.never;
21 import static org.mockito.Mockito.verify;
22 import static org.mockito.MockitoAnnotations.initMocks;
35 import org.mockito.Mock;
DScreenshotOnFailureCollectorTest.java20 import static org.mockito.ArgumentMatchers.any;
21 import static org.mockito.ArgumentMatchers.anyString;
22 import static org.mockito.ArgumentMatchers.endsWith;
23 import static org.mockito.ArgumentMatchers.matches;
24 import static org.mockito.Mockito.doNothing;
25 import static org.mockito.Mockito.doReturn;
26 import static org.mockito.Mockito.inOrder;
27 import static org.mockito.Mockito.spy;
28 import static org.mockito.Mockito.times;
29 import static org.mockito.Mockito.verify;
[all …]
DScreenRecordCollectorTest.java21 import static org.mockito.AdditionalMatchers.not;
22 import static org.mockito.ArgumentMatchers.anyBoolean;
23 import static org.mockito.ArgumentMatchers.anyString;
24 import static org.mockito.ArgumentMatchers.endsWith;
25 import static org.mockito.ArgumentMatchers.eq;
26 import static org.mockito.ArgumentMatchers.matches;
27 import static org.mockito.Mockito.atLeastOnce;
28 import static org.mockito.Mockito.doReturn;
29 import static org.mockito.Mockito.inOrder;
30 import static org.mockito.Mockito.never;
[all …]
DPerfettoTracingPerRunStrategyTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyLong;
21 import static org.mockito.ArgumentMatchers.anyString;
22 import static org.mockito.Mockito.doAnswer;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
42 import org.mockito.Mock;
43 import org.mockito.MockitoAnnotations;
[all …]
DPerfettoTracingPerTestStrategyTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyLong;
21 import static org.mockito.ArgumentMatchers.anyString;
22 import static org.mockito.Mockito.doAnswer;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
42 import org.mockito.Mock;
43 import org.mockito.MockitoAnnotations;
[all …]
DBinderListenerTest.java18 import static org.mockito.ArgumentMatchers.anyString;
19 import static org.mockito.Mockito.never;
20 import static org.mockito.Mockito.verify;
33 import org.mockito.Mock;
34 import org.mockito.MockitoAnnotations;
DPerfettoTracingPerClassStrategyTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.ArgumentMatchers.anyLong;
21 import static org.mockito.ArgumentMatchers.anyString;
22 import static org.mockito.Mockito.doAnswer;
23 import static org.mockito.Mockito.doReturn;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
41 import org.mockito.Mock;
42 import org.mockito.MockitoAnnotations;
[all …]
/platform_testing/libraries/collectors-helper/power/test/src/com/android/helpers/
DPwrStatsUtilHelperTest.java21 import static org.mockito.ArgumentMatchers.matches;
22 import static org.mockito.Mockito.doReturn;
30 import org.mockito.Mock;
31 import org.mockito.MockitoAnnotations;
32 import org.mockito.Spy;
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DKillAppsOnFailureRuleTest.java19 import static org.mockito.Mockito.any;
20 import static org.mockito.Mockito.inOrder;
21 import static org.mockito.Mockito.never;
22 import static org.mockito.Mockito.times;
23 import static org.mockito.Mockito.verify;
34 import org.mockito.InOrder;
35 import org.mockito.Mockito;
DClassMetricRuleTest.java20 import static org.mockito.Mockito.times;
21 import static org.mockito.Mockito.verify;
22 import static org.mockito.MockitoAnnotations.initMocks;
34 import org.mockito.ArgumentCaptor;
35 import org.mockito.Captor;
36 import org.mockito.Mock;
DCancelNotificationRuleTest.java19 import static org.mockito.Mockito.times;
20 import static org.mockito.Mockito.verify;
21 import static org.mockito.Mockito.when;
34 import org.mockito.Mockito;
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DTimeInStateListenerTest.java19 import static org.mockito.ArgumentMatchers.any;
20 import static org.mockito.Mockito.never;
21 import static org.mockito.Mockito.verify;
22 import static org.mockito.MockitoAnnotations.initMocks;
35 import org.mockito.Mock;
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DRecordedMotionSubjectTest.kt29 import org.mockito.ArgumentMatchers.anyString in <lambda>()
30 import org.mockito.kotlin.any in <lambda>()
31 import org.mockito.kotlin.doAnswer in <lambda>()
32 import org.mockito.kotlin.doNothing in <lambda>()
33 import org.mockito.kotlin.doReturn in <lambda>()
34 import org.mockito.kotlin.mock in <lambda>()
35 import org.mockito.kotlin.never in <lambda>()
36 import org.mockito.kotlin.spy in <lambda>()
37 import org.mockito.kotlin.verify in <lambda>()
38 import org.mockito.kotlin.whenever in <lambda>()
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioTestHarnessClientTests.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.Mockito.verify;
23 import static org.mockito.Mockito.when;
37 import org.mockito.ArgumentCaptor;
38 import org.mockito.Mock;
39 import org.mockito.junit.MockitoJUnit;
40 import org.mockito.junit.MockitoRule;
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DAudioCaptureSessionFactoryImplTests.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.Mockito.when;
33 import org.mockito.Mock;
34 import org.mockito.junit.MockitoJUnit;
35 import org.mockito.junit.MockitoRule;
DAudioCaptureSessionTests.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.ArgumentMatchers.anyLong;
23 import static org.mockito.Mockito.doThrow;
24 import static org.mockito.Mockito.verify;
25 import static org.mockito.Mockito.when;
34 import org.mockito.Mock;
35 import org.mockito.junit.MockitoJUnit;
36 import org.mockito.junit.MockitoRule;
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/listener/
DErrorTerminatorTest.java18 import static org.mockito.Mockito.never;
19 import static org.mockito.Mockito.verify;
28 import org.mockito.Mock;
29 import org.mockito.MockitoAnnotations;
DTimeoutTerminatorTest.java18 import static org.mockito.Mockito.never;
19 import static org.mockito.Mockito.verify;
27 import org.mockito.Mock;
28 import org.mockito.MockitoAnnotations;
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/
DNativePocTest.java20 import static org.mockito.Mockito.any;
21 import static org.mockito.Mockito.anyInt;
22 import static org.mockito.Mockito.anyLong;
23 import static org.mockito.Mockito.anyString;
24 import static org.mockito.Mockito.contains;
25 import static org.mockito.Mockito.eq;
26 import static org.mockito.Mockito.startsWith;
27 import static org.mockito.Mockito.verify;
28 import static org.mockito.Mockito.verifyNoMoreInteractions;
29 import static org.mockito.Mockito.when;
[all …]
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioSystemServiceTests.java21 import static org.mockito.ArgumentMatchers.any;
22 import static org.mockito.ArgumentMatchers.eq;
23 import static org.mockito.Mockito.doThrow;
24 import static org.mockito.Mockito.verify;
25 import static org.mockito.Mockito.when;
38 import org.mockito.ArgumentCaptor;
39 import org.mockito.Mock;
40 import org.mockito.junit.MockitoJUnit;
41 import org.mockito.junit.MockitoRule;
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java18 import static org.mockito.ArgumentMatchers.any;
19 import static org.mockito.ArgumentMatchers.anyLong;
20 import static org.mockito.ArgumentMatchers.longThat;
21 import static org.mockito.Mockito.atLeastOnce;
22 import static org.mockito.Mockito.mock;
23 import static org.mockito.Mockito.never;
24 import static org.mockito.Mockito.spy;
25 import static org.mockito.Mockito.times;
26 import static org.mockito.Mockito.verify;
27 import static org.mockito.MockitoAnnotations.initMocks;
[all …]

123456