OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockito
(Results
426 - 450
of
2324
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DefaultHomePreferenceControllerTest.java
21
import static org.
mockito
.Matchers.anyList;
22
import static org.
mockito
.
Mockito
.atLeastOnce;
23
import static org.
mockito
.
Mockito
.mock;
24
import static org.
mockito
.
Mockito
.spy;
25
import static org.
mockito
.
Mockito
.verify;
26
import static org.
mockito
.Mockito.when
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
AlwaysDiscoverableTest.java
20
import static org.
mockito
.Matchers.any;
21
import static org.
mockito
.Matchers.anyInt;
22
import static org.
mockito
.Matchers.eq;
23
import static org.
mockito
.
Mockito
.never;
24
import static org.
mockito
.
Mockito
.times;
25
import static org.
mockito
.
Mockito
.verify;
26
import static org.
mockito
.Mockito.when
[
all
...]
ForgetDeviceDialogFragmentTest.java
21
import static org.
mockito
.ArgumentMatchers.any;
22
import static org.
mockito
.
Mockito
.doReturn;
23
import static org.
mockito
.
Mockito
.never;
24
import static org.
mockito
.
Mockito
.spy;
25
import static org.
mockito
.
Mockito
.verify;
26
import static org.
mockito
.Mockito.when
[
all
...]
UtilsTest.java
37
import org.
mockito
.Answers;
38
import org.
mockito
.Mock;
39
import org.
mockito
.MockitoAnnotations;
43
import static org.
mockito
.Matchers.anyInt;
44
import static org.
mockito
.Matchers.anyString;
45
import static org.
mockito
.Matchers.eq;
46
import static org.
mockito
.
Mockito
.mock;
47
import static org.
mockito
.
Mockito
.verify
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
BugReportPreferenceControllerTest.java
30
import org.
mockito
.Mock;
31
import org.
mockito
.MockitoAnnotations;
34
import static org.
mockito
.Answers.RETURNS_DEEP_STUBS;
35
import static org.
mockito
.Matchers.any;
36
import static org.
mockito
.Matchers.anyBoolean;
37
import static org.
mockito
.Matchers.anyString;
38
import static org.
mockito
.
Mockito
.never;
39
import static org.
mockito
.
Mockito
.verify
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
SerialNumberPreferenceControllerTest.java
29
import org.
mockito
.Mock;
30
import org.
mockito
.MockitoAnnotations;
34
import static org.
mockito
.Answers.RETURNS_DEEP_STUBS;
35
import static org.
mockito
.Matchers.any;
36
import static org.
mockito
.Matchers.anyString;
37
import static org.
mockito
.
Mockito
.mock;
38
import static org.
mockito
.
Mockito
.never;
39
import static org.
mockito
.Mockito.verify
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatteryInfoLoaderTest.java
20
import static org.
mockito
.Matchers.any;
21
import static org.
mockito
.Matchers.anyLong;
22
import static org.
mockito
.Matchers.eq;
23
import static org.
mockito
.
Mockito
.doReturn;
24
import static org.
mockito
.
Mockito
.spy;
25
import static org.
mockito
.
Mockito
.when;
39
import org.
mockito
.Answers
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
AppLocationPermissionPreferenceControllerTest.java
14
import org.
mockito
.Answers;
15
import org.
mockito
.Mock;
16
import org.
mockito
.MockitoAnnotations;
19
import static org.
mockito
.Answers.RETURNS_DEEP_STUBS;
20
import static org.
mockito
.Matchers.any;
21
import static org.
mockito
.Matchers.anyString;
22
import static org.
mockito
.
Mockito
.never;
23
import static org.
mockito
.
Mockito
.verify
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
AdjustVolumeRestrictedPreferenceControllerTest.java
31
import org.
mockito
.Mock;
32
import org.
mockito
.MockitoAnnotations;
37
import static org.
mockito
.Matchers.anyInt;
38
import static org.
mockito
.Matchers.eq;
39
import static org.
mockito
.
Mockito
.doCallRealMethod;
40
import static org.
mockito
.
Mockito
.mock;
41
import static org.
mockito
.
Mockito
.spy
[
all
...]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
Within.java
20
import org.
mockito
.
Mockito
;
21
import org.
mockito
.exceptions.base.MockitoAssertionError;
22
import org.
mockito
.internal.verification.api.VerificationData;
23
import org.
mockito
.invocation.Invocation;
24
import org.
mockito
.verification.VerificationMode;
30
* a certain time interval. Not that unlike {@link
Mockito
#timeout(int)}, this mode will not
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
InjectMocksScanner.java
2
* Copyright (c) 2007
Mockito
contributors
5
package org.
mockito
.internal.configuration.injection.scanner;
7
import org.
mockito
.Captor;
8
import org.
mockito
.InjectMocks;
9
import org.
mockito
.Mock;
11
import static org.
mockito
.internal.exceptions.Reporter.unsupportedCombinationOfAnnotations;
/external/mockito/src/main/java/org/mockito/internal/debugging/
MockitoDebuggerImpl.java
2
* Copyright (c) 2007
Mockito
contributors
5
package org.
mockito
.internal.debugging;
7
import org.
mockito
.MockitoDebugger;
8
import org.
mockito
.internal.invocation.UnusedStubsFinder;
9
import org.
mockito
.internal.invocation.finder.AllInvocationsFinder;
10
import org.
mockito
.invocation.Invocation;
28
out += line("***
Mockito
interactions log ***");
/external/mockito/src/main/java/org/mockito/internal/handler/
NotifiedMethodInvocationReport.java
2
* Copyright (c) 2007
Mockito
contributors
5
package org.
mockito
.internal.handler;
7
import org.
mockito
.invocation.DescribedInvocation;
8
import org.
mockito
.invocation.Invocation;
9
import org.
mockito
.listeners.MethodInvocationReport;
11
import static org.
mockito
.internal.matchers.Equality.areEqual;
23
* Build a new {@link org.
mockito
.listeners.MethodInvocationReport} with a return value.
36
* Build a new {@link org.
mockito
.listeners.MethodInvocationReport} with a return value.
/external/mockito/src/main/java/org/mockito/internal/junit/
UnnecessaryStubbingsReporter.java
2
* Copyright (c) 2016
Mockito
contributors
5
package org.
mockito
.internal.junit;
10
import org.
mockito
.internal.exceptions.Reporter;
11
import org.
mockito
.invocation.Invocation;
12
import org.
mockito
.listeners.MockCreationListener;
13
import org.
mockito
.mock.MockCreationSettings;
33
Description unnecessaryStubbings = Description.createTestDescription(testClass, "unnecessary
Mockito
stubbings");
/external/mockito/src/main/java/org/mockito/internal/verification/
MockAwareVerificationMode.java
2
* Copyright (c) 2007
Mockito
contributors
5
package org.
mockito
.internal.verification;
8
import org.
mockito
.internal.verification.api.VerificationData;
9
import org.
mockito
.listeners.VerificationListener;
10
import org.
mockito
.verification.VerificationEvent;
11
import org.
mockito
.verification.VerificationMode;
/external/mockito/src/test/java/org/mockito/
MockitoTest.java
2
* Copyright (c) 2007
Mockito
contributors
6
package org.
mockito
;
9
import static org.
mockito
.
Mockito
.times;
10
import static org.
mockito
.internal.progress.ThreadSafeMockingProgress.mockingProgress;
14
import org.
mockito
.exceptions.misusing.NotAMockException;
15
import org.
mockito
.internal.creation.MockSettingsImpl;
22
List mock =
Mockito
.mock(List.class);
23
Mockito
.when(mock.add("test")).thenReturn(true);
30
Mockito
.verify("notMock")
[
all
...]
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DoesNothingTest.java
2
* Copyright (c) 2007
Mockito
contributors
5
package org.
mockito
.internal.stubbing.answers;
8
import static org.
mockito
.
Mockito
.mock;
9
import static org.
mockito
.internal.stubbing.answers.DoesNothing.doesNothing;
14
import org.
mockito
.exceptions.base.MockitoException;
15
import org.
mockito
.invocation.Invocation;
/external/mockito/src/test/java/org/mockitousage/junitrule/
StubbingWarningsMultiThreadingTest.java
5
import org.
mockito
.Mock;
6
import org.
mockito
.quality.Strictness;
7
import org.
mockito
.internal.junit.JUnitRule;
8
import org.
mockito
.internal.util.SimpleMockitoLogger;
15
import static org.
mockito
.
Mockito
.when;
/external/mockito/src/test/java/org/mockitousage/misuse/
DescriptiveMessagesOnMisuseTest.java
2
* Copyright (c) 2007
Mockito
contributors
9
import org.
mockito
.Mock;
10
import org.
mockito
.exceptions.base.MockitoException;
11
import org.
mockito
.exceptions.misusing.NotAMockException;
12
import org.
mockito
.exceptions.misusing.NullInsteadOfMockException;
16
import static org.
mockito
.
Mockito
.*;
RestrictedObjectMethodsTest.java
2
* Copyright (c) 2007
Mockito
contributors
10
import org.
mockito
.InOrder;
11
import org.
mockito
.Mock;
12
import org.
mockito
.exceptions.base.MockitoException;
19
import static org.
mockito
.
Mockito
.inOrder;
20
import static org.
mockito
.
Mockito
.verify;
/external/mockito/src/test/java/org/mockitousage/stacktrace/
ClickableStackTracesWhenFrameworkMisusedTest.java
2
* Copyright (c) 2007
Mockito
contributors
10
import org.
mockito
.Mock;
11
import org.
mockito
.exceptions.misusing.InvalidUseOfMatchersException;
12
import org.
mockito
.exceptions.misusing.UnfinishedStubbingException;
13
import org.
mockito
.exceptions.misusing.UnfinishedVerificationException;
19
import static org.
mockito
.
Mockito
.*;
PointingStackTraceToActualInvocationTest.java
2
* Copyright (c) 2007
Mockito
contributors
11
import org.
mockito
.Mock;
12
import org.
mockito
.exceptions.verification.NeverWantedButInvoked;
13
import org.
mockito
.junit.MockitoJUnitRunner;
19
import static org.
mockito
.
Mockito
.times;
20
import static org.
mockito
.
Mockito
.verify;
/external/mockito/src/test/java/org/mockitousage/verification/
DescriptiveMessagesWhenTimesXVerificationFailsTest.java
2
* Copyright (c) 2007
Mockito
contributors
9
import org.
mockito
.Mock;
10
import org.
mockito
.
Mockito
;
11
import org.
mockito
.exceptions.verification.TooLittleActualInvocations;
12
import org.
mockito
.exceptions.verification.TooManyActualInvocations;
19
import static org.
mockito
.
Mockito
.times;
32
Mockito
.verify(mock, times(3)).clear();
34
Mockito
.verify(mock, times(100)).clear()
[
all
...]
VerificationExcludingStubsTest.java
2
* Copyright (c) 2007
Mockito
contributors
9
import org.
mockito
.InOrder;
10
import org.
mockito
.Mock;
11
import org.
mockito
.exceptions.misusing.NotAMockException;
12
import org.
mockito
.exceptions.verification.NoInteractionsWanted;
17
import static org.
mockito
.
Mockito
.*;
/frameworks/base/wifi/tests/src/android/net/wifi/
WifiScannerTest.java
19
import static org.
mockito
.
Mockito
.mock;
20
import static org.
mockito
.
Mockito
.validateMockitoUsage;
21
import static org.
mockito
.
Mockito
.when;
32
import org.
mockito
.Mock;
33
import org.
mockito
.MockitoAnnotations;
Completed in 4812 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>