OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:defaultAnswer
(Results
1 - 15
of
15
) sorted by null
/external/mockito/src/org/mockito/
MockSettings.java
25
* .
defaultAnswer
(RETURNS_SMART_NULLS)
31
* .
defaultAnswer
(RETURNS_SMART_NULLS)
133
* Foo mock = mock(Foo.class, withSettings().
defaultAnswer
(RETURNS_SMART_NULLS));
134
* Foo mockTwo = mock(Foo.class, withSettings().
defaultAnswer
(new YourOwnAnswer()));
140
* @param
defaultAnswer
default answer to be used by mock when not stubbed
144
MockSettings
defaultAnswer
(Answer
defaultAnswer
);
Mockito.java
739
* .
defaultAnswer
(CALLS_REAL_METHODS)
[
all
...]
/external/mockito/src/org/mockito/internal/creation/settings/
CreationSettings.java
28
protected Answer<Object>
defaultAnswer
;
42
this.
defaultAnswer
= copy.
defaultAnswer
;
76
return
defaultAnswer
;
/external/mockito/src/org/mockito/internal/creation/
MockSettingsImpl.java
75
public MockSettings
defaultAnswer
(Answer
defaultAnswer
) {
76
this.
defaultAnswer
=
defaultAnswer
;
77
if (
defaultAnswer
== null) {
84
return
defaultAnswer
;
/external/mockito/src/org/mockito/internal/configuration/
MockAnnotationProcessor.java
32
mockSettings.
defaultAnswer
(annotation.answer().get());
SpyAnnotationEngine.java
67
.
defaultAnswer
(Mockito.CALLS_REAL_METHODS)
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsMocks.java
34
return mockitoCore.mock(clazz, new MockSettingsImpl().
defaultAnswer
(this));
ReturnsDeepStubs.java
98
.
defaultAnswer
(returnsDeepStubsAnswerUsing(returnTypeGenericMetadata));
/external/mockito/src/org/mockito/internal/configuration/injection/
SpyOnInjectedFieldsHandler.java
46
.
defaultAnswer
(Mockito.CALLS_REAL_METHODS)
/prebuilts/devtools/tools/lib/
sdkmanager.jar
/external/robolectric/lib/test/
mockito-core-1.8.5.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi_3.6.1.R36x_v20100806.jar
org.eclipse.osgi_3.6.2.R36x_v20101103.jar
/prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar
Completed in 194 milliseconds