OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:doAnswer
(Results
1 - 9
of
9
) sorted by null
/external/mockito/src/org/mockito/stubbing/
Stubber.java
10
* Allows to choose a method when stubbing in doThrow()|
doAnswer
()|doNothing()|doReturn() style
32
* {@link Mockito#
doAnswer
(Answer)}
45
* Allows to choose a method when stubbing in doThrow()|
doAnswer
()|doNothing()|doReturn() style
60
* {@link Mockito#
doAnswer
(Answer)}
103
* Use it for stubbing consecutive calls in {@link Mockito#
doAnswer
(Answer)} style:
105
*
doAnswer
(answerOne).
106
*
doAnswer
(answerTwo)
109
* See javadoc for {@link Mockito#
doAnswer
(Answer)}
114
Stubber
doAnswer
(Answer answer);
/external/mockito/src/org/mockito/internal/stubbing/
StubberImpl.java
57
public Stubber
doAnswer
(Answer answer) {
/packages/apps/Mms/src/com/android/mms/ui/
ConfirmRateLimitActivity.java
55
doAnswer
(true);
62
doAnswer
(false);
72
doAnswer
(false);
87
doAnswer
(false);
107
doAnswer
(false);
112
private void
doAnswer
(boolean answer) {
/external/mockito/src/org/mockito/
Mockito.java
42
* <a href="#12">12. <code>doReturn()</code>|<code>doThrow()</code>|<code>
doAnswer
()</code>|<code>doNothing()</code>|<code>doCallRealMethod()</code> family of methods</a><br/>
245
* Read more about doThrow|
doAnswer
family of methods in paragraph 12.
249
* This is because of improved readability and consistency with the family of {@link Mockito#
doAnswer
(Answer)} methods.
442
* <code>
doAnswer
()</code>|<code>doNothing()</code>|<code>doCallRealMethod()</code> family of methods</a></h3>
448
* The main reason is improved readability and consistency with the family of <code>
doAnswer
()</code> methods.
459
* You can use <code>doThrow()</code>, <code>
doAnswer
()</code>, <code>doNothing()</code>, <code>doReturn()</code>
477
* {@link Mockito#
doAnswer
(Answer)}
[
all
...]
/external/mockito/src/org/mockito/internal/
MockitoCore.java
143
public Stubber
doAnswer
(Answer answer) {
146
return new StubberImpl().
doAnswer
(answer);
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/external/robolectric/lib/test/
mockito-core-1.8.5.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 2299 milliseconds