OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:withSettings
(Results
1 - 25
of
56
) sorted by null
1
2
3
/external/parameter-framework/upstream/parameter/
XmlDomainSerializingContext.h
45
bool
withSettings
() const { return _bWithSettings; }
/external/mockito/src/test/java/org/mockitousage/basicapi/
MockingMultipleInterfacesTest.java
15
import static org.mockito.Mockito.
withSettings
;
29
Foo mock = mock(Foo.class,
withSettings
().extraInterfaces(IFoo.class, IBar.class));
40
mock(Foo.class,
withSettings
().extraInterfaces(IFoo.class, null));
52
mock(Foo.class,
withSettings
().extraInterfaces());
64
mock(Foo.class,
withSettings
().extraInterfaces((Class[]) null));
76
mock(Foo.class,
withSettings
().extraInterfaces(Foo.class));
88
mock(IMethods.class,
withSettings
().extraInterfaces(IMethods.class));
109
Object mocked = mock(interface1,
withSettings
().extraInterfaces(interface2));
MocksCreationTest.java
40
IMethods mock = mock(IMethods.class,
withSettings
()
60
IMethods mock = mock(IMethods.class,
withSettings
()
76
IMethods mock = mock(IMethods.class,
withSettings
().name("great mockie"));
91
mock(List.class,
withSettings
().spiedInstance(list));
100
mock(LinkedList.class,
withSettings
().spiedInstance(list));
MocksSerializationTest.java
49
Bar barMock = mock(Bar.class,
withSettings
().serializable());
60
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
69
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
83
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
98
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
112
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
126
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
140
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
156
IMethods mock = mock(IMethods.class,
withSettings
().serializable());
200
IMethods mock = mock(IMethods.class,
withSettings
().serializable())
[
all
...]
/external/mockito/src/test/java/org/mockitousage/performance/
StubOnlyAvoidMemoryConsumptionTest.java
12
Object obj = mock(Object.class,
withSettings
().stubOnly());
23
Object obj = mock(Object.class,
withSettings
());
/external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingWithDelegateVarArgsTest.java
8
import static org.mockito.Mockito.
withSettings
;
27
Foo foo = mock(Foo.class,
withSettings
()
34
Foo foo = mock(Foo.class,
withSettings
()
42
Foo foo = mock(Foo.class,
withSettings
()
/external/mockito/src/test/java/org/mockitousage/constructor/
CreatingMocksWithConstructorTest.java
18
import static org.mockito.Mockito.
withSettings
;
37
Message mock = mock(Message.class,
withSettings
().useConstructor().defaultAnswer(CALLS_REAL_METHODS));
44
AbstractMessage mock = mock(AbstractMessage.class,
withSettings
().useConstructor().defaultAnswer(CALLS_REAL_METHODS));
56
InnerClass mock = mock(InnerClass.class,
withSettings
().useConstructor().outerInstance(this).defaultAnswer(CALLS_REAL_METHODS));
81
mock(InnerClass.class,
withSettings
().useConstructor().outerInstance("foo").defaultAnswer(CALLS_REAL_METHODS));
94
mock(IMethods.class,
withSettings
().useConstructor());
102
mock(AbstractMessage.class,
withSettings
().useConstructor().serializable(SerializableMode.ACROSS_CLASSLOADERS));
139
List list = mock(List.class,
withSettings
().defaultAnswer(CALLS_REAL_METHODS));
/external/mockito/src/test/java/org/mockitousage/debugging/
VerboseLoggingOfInvocationsOnMockTest.java
55
Foo foo = mock(Foo.class,
withSettings
().verboseLogging());
71
Foo foo = mock(Foo.class,
withSettings
().verboseLogging());
87
Foo foo = mock(Foo.class,
withSettings
().verboseLogging());
105
Foo foo = mock(Foo.class,
withSettings
().verboseLogging());
127
withSettings
().spiedInstance(new FooImpl()).verboseLogging());
144
Foo foo = mock(Foo.class,
withSettings
().verboseLogging());
InvocationListenerCallbackTest.java
31
Foo foo = mock(Foo.class,
withSettings
().invocationListeners(listener));
46
Foo foo = mock(Foo.class,
withSettings
().invocationListeners(listener1, listener2));
62
Foo foo = mock(Foo.class,
withSettings
().invocationListeners(listener1, listener2));
/external/mockito/src/test/java/org/mockitousage/bugs/
ListenersLostOnResetMockTest.java
22
List mockedList = mock(List.class,
withSettings
().invocationListeners(invocationListener));
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
SpyOnInjectedFieldsHandler.java
17
import static org.mockito.Mockito.
withSettings
;
43
Object mock = Mockito.mock(instance.getClass(),
withSettings
()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeConfigurationUtil.java
22
import static org.mockito.Mockito.
withSettings
;
60
return
withSettings
().defaultAnswer((i) -> {
/external/mockito/src/test/java/org/mockitousage/stacktrace/
ModellingDescriptiveMessagesTest.java
172
mock(IMethods.class,
withSettings
().extraInterfaces(List.class, null));
177
mock(IMethods.class,
withSettings
().extraInterfaces(LinkedList.class));
182
mock(IMethods.class,
withSettings
().extraInterfaces(IMethods.class));
187
mock(IMethods.class,
withSettings
().extraInterfaces());
192
mock(IMethods.class,
withSettings
().extraInterfaces((Class<?>[]) null));
/external/mockito/src/test/java/org/mockitousage/serialization/
DeepStubsSerializableTest.java
18
SampleClass sampleClass = mock(SampleClass.class,
withSettings
().defaultAnswer(RETURNS_DEEP_STUBS).serializable());
33
ListContainer deep_stubbed = mock(ListContainer.class,
withSettings
().defaultAnswer(RETURNS_DEEP_STUBS).serializable());
47
ListContainer deep_stubbed = mock(ListContainer.class,
withSettings
().defaultAnswer(RETURNS_DEEP_STUBS).serializable());
ParallelSerializationTest.java
19
import static org.mockito.Mockito.
withSettings
;
29
final IMethods iMethods_that_store_invocations = mock(IMethods.class,
withSettings
().serializable());
/external/mockito/src/main/java/org/mockito/internal/configuration/
MockAnnotationProcessor.java
18
MockSettings mockSettings = Mockito.
withSettings
();
SpyAnnotationEngine.java
23
import static org.mockito.Mockito.
withSettings
;
76
withSettings
().spiedInstance(instance)
83
MockSettings settings =
withSettings
().defaultAnswer(CALLS_REAL_METHODS)
/external/mockito/src/main/java/org/mockito/
Mockito.java
[
all
...]
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java
23
import static org.mockito.Mockito.
withSettings
;
104
withSettings
().extraInterfaces(returnTypeGenericMetadata.rawExtraInterfaces())
105
:
withSettings
();
/external/mockito/src/test/java/org/mockito/internal/util/
MockUtilTest.java
20
import static org.mockito.Mockito.
withSettings
;
61
assertTrue(MockUtil.isSpy(Mockito.mock(ArrayList.class,
withSettings
().defaultAnswer(Mockito.CALLS_REAL_METHODS))));
/external/mockito/src/test/java/org/mockito/
MockitoTest.java
56
MockSettingsImpl<?> settings = (MockSettingsImpl<?>) Mockito.
withSettings
();
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
TestMenuItem.java
44
Mockito.
withSettings
().defaultAnswer(Mockito.CALLS_REAL_METHODS));
TestRecyclerView.java
68
Mockito.
withSettings
().defaultAnswer(Mockito.CALLS_REAL_METHODS));
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
BasicPeriodBuilderFactory.java
361
return
withSettings
(newSettings);
366
protected abstract PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse);
392
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
421
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
456
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
507
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
BasicPeriodBuilderFactory.java
360
return
withSettings
(newSettings);
365
protected abstract PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse);
391
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
420
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
455
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
506
protected PeriodBuilder
withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) {
Completed in 1151 milliseconds
1
2
3