OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MockSettings
(Results
1 - 18
of
18
) sorted by null
/external/mockito/src/org/mockito/
MockSettings.java
35
* {@link
MockSettings
} has been introduced for two reasons.
39
public interface
MockSettings
extends Serializable {
61
MockSettings
extraInterfaces(Class<?>... interfaces);
81
MockSettings
name(String name);
123
MockSettings
spiedInstance(Object instance);
144
MockSettings
defaultAnswer(Answer defaultAnswer);
162
MockSettings
serializable();
179
MockSettings
verboseLogging();
199
MockSettings
invocationListeners(InvocationListener... listeners);
214
MockSettings
stubOnly();
[
all
...]
Mockito.java
724
* To create serializable mock use {@link
MockSettings
#serializable()}:
733
* which accepts
MockSettings
. No worries, you will hardly ever use it.
[
all
...]
/external/mockito/src/org/mockito/listeners/
InvocationListener.java
7
import org.mockito.
MockSettings
;
12
* For this to happen, it must be registered using {@link
MockSettings
#invocationListeners(InvocationListener...)}.
/external/mockito/src/org/mockito/internal/listeners/
MockingStartedListener.java
7
import org.mockito.
MockSettings
;
CollectCreatedMocks.java
7
import org.mockito.
MockSettings
;
/external/mockito/src/org/mockito/internal/creation/
MockSettingsImpl.java
7
import org.mockito.
MockSettings
;
28
public class MockSettingsImpl<T> extends CreationSettings<T> implements
MockSettings
, MockCreationSettings<T> {
32
public
MockSettings
serializable() {
37
public
MockSettings
extraInterfaces(Class... extraInterfaces) {
65
public
MockSettings
name(String name) {
70
public
MockSettings
spiedInstance(Object spiedInstance) {
75
public
MockSettings
defaultAnswer(Answer defaultAnswer) {
100
public
MockSettings
verboseLogging() {
107
public
MockSettings
invocationListeners(InvocationListener... listeners) {
/external/mockito/src/org/mockito/internal/configuration/
MockAnnotationProcessor.java
8
import org.mockito.
MockSettings
;
18
MockSettings
mockSettings
= Mockito.withSettings();
20
mockSettings
.extraInterfaces(annotation.extraInterfaces());
23
mockSettings
.name(field.getName());
25
mockSettings
.name(annotation.name());
28
mockSettings
.serializable();
32
mockSettings
.defaultAnswer(annotation.answer().get());
33
return Mockito.mock(field.getType(),
mockSettings
);
/external/mockito/src/org/mockito/internal/progress/
MockingProgress.java
8
import org.mockito.
MockSettings
;
ThreadSafeMockingProgress.java
10
import org.mockito.
MockSettings
;
MockingProgressImpl.java
8
import org.mockito.
MockSettings
;
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java
7
import org.mockito.
MockSettings
;
91
private
MockSettings
withSettingsUsing(GenericMetadataSupport returnTypeGenericMetadata) {
92
MockSettings
mockSettings
=
97
return
mockSettings
122
CreationSettings
mockSettings
= (CreationSettings) new MockUtil().getMockHandler(mock).getMockSettings();
123
return GenericMetadataSupport.inferFrom(
mockSettings
.getTypeToMock());
/external/chromium_org/components/data_reduction_proxy/browser/
data_reduction_proxy_settings_unittest.cc
313
MockSettings
* settings = static_cast<
MockSettings
*>(settings_.get());
359
MockSettings
* settings = static_cast<
MockSettings
*>(settings_.get());
369
MockSettings
* settings = static_cast<
MockSettings
*>(settings_.get());
377
MockSettings
* settings = static_cast<
MockSettings
*>(settings_.get());
407
MockSettings
* settings = static_cast<
MockSettings
*>(settings_.get())
[
all
...]
data_reduction_proxy_settings_test_utils.h
179
typedef MockDataReductionProxySettings<C>
MockSettings
;
/external/mockito/src/org/mockito/internal/
MockitoCore.java
8
import org.mockito.
MockSettings
;
47
public <T> T mock(Class<T> typeToMock,
MockSettings
settings) {
/external/robolectric/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 532 milliseconds