OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thenAnswer
(Results
1 - 22
of
22
) sorted by null
/external/mockito/src/org/mockito/internal/stubbing/
ConsecutiveStubbing.java
18
public OngoingStubbing<T>
thenAnswer
(Answer<?> answer) {
24
return
thenAnswer
(answer);
BaseStubbing.java
16
return
thenAnswer
(new Returns(value));
31
return
thenAnswer
(new ThrowsException(throwable));
50
return
thenAnswer
(new ThrowsExceptionClass(throwableClass));
69
return
thenAnswer
(new CallsRealMethods());
OngoingStubbingImpl.java
23
public OngoingStubbing<T>
thenAnswer
(Answer<?> answer) {
33
return
thenAnswer
(answer);
/external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java
150
* when(mock.someMethod(10)).
thenAnswer
(new Answer<Integer>() {
161
OngoingStubbing<T>
thenAnswer
(Answer<?> answer);
166
* This method is an alias of {@link #
thenAnswer
(Answer)}. This alias allows
172
* //versus good old '
thenAnswer
:
173
* when(mock.foo()).
thenAnswer
(byReturningCoolValue());
179
* @see #
thenAnswer
(Answer)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockKeyStore.java
40
.
thenAnswer
(new Answer<Boolean>() {
51
.
thenAnswer
(new Answer<Boolean>() {
61
when(mock.delete(anyString(), anyInt())).
thenAnswer
(new Answer<Boolean>() {
70
when(mock.contains(anyString(), anyInt())).
thenAnswer
(new Answer<Boolean>() {
80
.
thenAnswer
(new Answer<Boolean>() {
WifiConfigManagerTest.java
[
all
...]
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
MockCallListWrapper.java
42
when(mCallList.getFirstCallWithState(anyInt())).
thenAnswer
(new Answer<Call>() {
/packages/apps/TV/tests/unit/src/com/android/tv/data/
TvInputNewComparatorTest.java
57
Mockito.when(setupUtils.isNewInput(Matchers.anyString())).
thenAnswer
(
66
Mockito.when(setupUtils.isSetupDone(Matchers.anyString())).
thenAnswer
(
ChannelTest.java
186
Mockito.when(manager.isPartnerInput(Matchers.anyString())).
thenAnswer
(
232
Mockito.when(manager.isPartnerInput(Matchers.anyString())).
thenAnswer
(
/frameworks/volley/src/test/java/com/android/volley/
RequestQueueIntegrationTest.java
81
when(mMockNetwork.performRequest(higherPriorityReq)).
thenAnswer
(delayAnswer);
119
when(mMockNetwork.performRequest(req1)).
thenAnswer
(delayAnswer);
153
when(mMockNetwork.performRequest(request)).
thenAnswer
(delayAnswer);
/packages/apps/Messaging/tests/src/com/android/messaging/
FakeFactory.java
89
.
thenAnswer
(new Answer<String>() {
97
Mockito.when(factory.mPhoneUtils.getCanonicalBySimLocale(Matchers.anyString())).
thenAnswer
(
106
Mockito.when(factory.mPhoneUtils.formatForDisplay(Matchers.anyString())).
thenAnswer
(
/external/mockito/src/org/mockito/
BDDMockito.java
67
* See original {@link OngoingStubbing#
thenAnswer
(Answer)}
127
return new BDDOngoingStubbingImpl<T>(mockitoOngoingStubbing.
thenAnswer
(answer));
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
MenuTest.java
131
Mockito.when(mMenuView.isVisible()).
thenAnswer
(new Answer<Boolean>() {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmMockContext.java
326
when(userManager.getUserInfo(anyInt())).
thenAnswer
(
340
when(userManager.getProfiles(anyInt())).
thenAnswer
(
349
when(userManager.getProfileIdsWithDisabled(anyInt())).
thenAnswer
(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
ContextFixture.java
507
when(mResources.getString(eq(id), any())).
thenAnswer
(new Answer<String>() {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ComponentContextFixture.java
494
when(mResources.getString(eq(id), any())).
thenAnswer
(new Answer<String>() {
BasicCallTests.java
[
all
...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
WifiScanningServiceTest.java
271
.
thenAnswer
(new AnswerWithArguments() {
[
all
...]
/external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar
/prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar
Completed in 369 milliseconds