OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:extraInterfaces
(Results
1 - 11
of
11
) sorted by null
/external/mockito/src/org/mockito/internal/creation/settings/
CreationSettings.java
25
protected Set<Class>
extraInterfaces
= new LinkedHashSet<Class>();
39
this.
extraInterfaces
= copy.
extraInterfaces
;
59
return
extraInterfaces
;
62
public CreationSettings<T> setExtraInterfaces(Set<Class>
extraInterfaces
) {
63
this.
extraInterfaces
=
extraInterfaces
;
/external/mockito/src/org/mockito/internal/configuration/
MockAnnotationProcessor.java
19
if (annotation.
extraInterfaces
().length > 0) { // never null
20
mockSettings.
extraInterfaces
(annotation.
extraInterfaces
());
/external/mockito/src/org/mockito/internal/creation/
MockSettingsImpl.java
37
public MockSettings
extraInterfaces
(Class...
extraInterfaces
) {
38
if (
extraInterfaces
== null ||
extraInterfaces
.length == 0) {
42
for (Class i :
extraInterfaces
) {
49
this.
extraInterfaces
= newSet(
extraInterfaces
);
58
return
extraInterfaces
;
/external/mockito/src/org/mockito/
Mock.java
30
* @Mock(
extraInterfaces
= {Queue.class, Observer.class}) private articleMonitor;
70
Class<?>[]
extraInterfaces
() default {};
MockSettings.java
33
* .
extraInterfaces
(Bar.class));
51
* Foo foo = mock(Foo.class, withSettings().
extraInterfaces
(Bar.class, Baz.class));
61
MockSettings
extraInterfaces
(Class<?>... interfaces);
/external/mockito/src/org/mockito/internal/util/
MockCreationValidator.java
24
public void validateExtraInterfaces(Class classToMock, Collection<Class>
extraInterfaces
) {
25
if (
extraInterfaces
== null) {
29
for (Class i :
extraInterfaces
) {
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java
40
Class<?>[]
extraInterfaces
= interfacesSet.toArray(new Class[interfacesSet.size()]);
45
Class[] classesToMock = new Class[
extraInterfaces
.length + 1];
47
System.arraycopy(
extraInterfaces
, 0, classesToMock, 1,
extraInterfaces
.length);
58
.implementing(
extraInterfaces
)
/external/mockito/src/org/mockito/internal/util/reflection/
GenericMetadataSupport.java
139
public List<Type>
extraInterfaces
() {
144
* @return Returns an array with the raw types of {@link #
extraInterfaces
()} <strong>if relevant</strong>.
385
public List<Type>
extraInterfaces
() {
400
* @return Returns an array with the extracted raw types of {@link #
extraInterfaces
()}.
404
List<Type>
extraInterfaces
=
extraInterfaces
();
406
for (Type extraInterface :
extraInterfaces
) {
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java
94
withSettings().
extraInterfaces
(returnTypeGenericMetadata.rawExtraInterfaces())
/external/robolectric/lib/test/
mockito-core-1.8.5.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 99 milliseconds