OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:stubbing
(Results
51 - 75
of
180
) sorted by null
1
2
3
4
5
6
7
8
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsEmptyValues.java
6
package org.mockito.internal.
stubbing
.defaultanswers;
13
import org.mockito.
stubbing
.Answer;
61
* @see org.mockito.
stubbing
.Answer#answer(org.mockito.invocation.InvocationOnMock)
ReturnsSmartNulls.java
5
package org.mockito.internal.
stubbing
.defaultanswers;
16
import org.mockito.
stubbing
.Answer;
/external/mockito/src/org/mockito/
BDDMockito.java
7
import org.mockito.
stubbing
.Answer;
8
import org.mockito.
stubbing
.OngoingStubbing;
9
import org.mockito.
stubbing
.Stubber;
17
* The problem is that current
stubbing
api with canonical role of <b>when</b> word does not integrate nicely with <b>//given //when //then</b> comments.
18
* It's because
stubbing
belongs to <b>given</b> component of the test and not to the <b>when</b> component of the test.
41
*
Stubbing
voids with throwables:
ReturnValues.java
9
import org.mockito.
stubbing
.Answer;
Spy.java
58
* <li>Sometimes it's impossible or impractical to use {@link Mockito#when(Object)} for
stubbing
spies.
60
* family of methods for
stubbing
. Example:
69
* //You have to use doReturn() for
stubbing
MockSettings.java
9
import org.mockito.
stubbing
.Answer;
106
* About
stubbing
for a partial mock, as it is a spy it will always call the real method, unless you use the
107
* <code>doReturn</code>|<code>Throw</code>|<code>Answer</code>|<code>CallRealMethod</code>
stubbing
style. Example:
116
* //You have to use doReturn() for
stubbing
202
* Sets whether this mock should only provide
stubbing
of methods.
ArgumentCaptor.java
28
* <strong>Warning:</strong> it is recommended to use ArgumentCaptor with verification <strong>but not</strong> with
stubbing
.
29
* Using ArgumentCaptor with
stubbing
may decrease test readability because captor is created outside of assert (aka verify or 'then') block.
40
* Custom argument matchers via {@link ArgumentMatcher} are usually better for
stubbing
.
/external/mockito/src/org/mockito/internal/stubbing/answers/
ReturnsArgumentAt.java
5
package org.mockito.internal.
stubbing
.answers;
9
import org.mockito.
stubbing
.Answer;
MethodInfo.java
5
package org.mockito.internal.
stubbing
.answers;
/external/mockito/src/org/mockito/invocation/
Invocation.java
54
* @return the
stubbing
information for this invocation. May return null - this means
62
* @param stubInfo the information about
stubbing
.
MockHandler.java
24
* method calls on mocks for further verification, captures the
stubbing
information when mock is stubbed,
/external/mockito/src/org/mockito/internal/configuration/
GlobalConfiguration.java
11
import org.mockito.
stubbing
.Answer;
/packages/apps/Messaging/src/com/android/messaging/util/
Typefaces.java
24
* not worth
stubbing
.
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
mox_helper.py
104
Used to test
stubbing
out unbound methods, where child classes
142
# This class is used to test
stubbing
out __init__ of a parent class.
/external/chromium-trace/catapult/third_party/mox3/mox3/tests/
mox_helper.py
104
Used to test
stubbing
out unbound methods, where child classes
142
# This class is used to test
stubbing
out __init__ of a parent class.
/external/mockito/src/org/mockito/configuration/
IMockitoConfiguration.java
8
import org.mockito.internal.
stubbing
.defaultanswers.ReturnsEmptyValues;
9
import org.mockito.
stubbing
.Answer;
/external/mockito/src/org/mockito/internal/creation/settings/
CreationSettings.java
10
import org.mockito.
stubbing
.Answer;
/frameworks/base/tests/utils/testutils/java/android/app/test/
MockAnswerUtil.java
20
import org.mockito.
stubbing
.Answer;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockAnswerUtil.java
20
import org.mockito.
stubbing
.Answer;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
AddressListField.java
22
//BEGIN android-changed:
Stubbing
out logging
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
TempStorage.java
22
//BEGIN android-changed:
Stubbing
out logging
/packages/services/Telephony/src/org/apache/james/mime4j/field/
AddressListField.java
22
//BEGIN android-changed:
Stubbing
out logging
/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 750 milliseconds
1
2
3
4
5
6
7
8