HomeSort by relevance Sort by last modified time
    Searched defs:returnValueFor (Results 1 - 14 of 14) sorted by null

  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsEmptyValues.java 74 return returnValueFor(returnType);
77 Object returnValueFor(Class<?> type) {
ReturnsMocks.java 26 return returnValueFor(invocation.getMethod().getReturnType());
29 Object returnValueFor(Class<?> clazz) {
ReturnsMoreEmptyValues.java 62 return returnValueFor(returnType);
65 Object returnValueFor(Class<?> type) {
  /external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsEmptyValuesTest.java 24 assertTrue(((Collection<?>) values.returnValueFor(Collection.class)).isEmpty());
26 assertTrue(((Set<?>) values.returnValueFor(Set.class)).isEmpty());
27 assertTrue(((SortedSet<?>) values.returnValueFor(SortedSet.class)).isEmpty());
28 assertTrue(((HashSet<?>) values.returnValueFor(HashSet.class)).isEmpty());
29 assertTrue(((TreeSet<?>) values.returnValueFor(TreeSet.class)).isEmpty());
30 assertTrue(((LinkedHashSet<?>) values.returnValueFor(LinkedHashSet.class)).isEmpty());
32 assertTrue(((List<?>) values.returnValueFor(List.class)).isEmpty());
33 assertTrue(((ArrayList<?>) values.returnValueFor(ArrayList.class)).isEmpty());
34 assertTrue(((LinkedList<?>) values.returnValueFor(LinkedList.class)).isEmpty());
36 assertTrue(((Map<?, ?>) values.returnValueFor(Map.class)).isEmpty())
    [all...]
ReturnsMocksTest.java 29 Object interfaceMock = values.returnValueFor(FooInterface.class);
35 Object classMock = values.returnValueFor(BarClass.class);
42 assertNull(values.returnValueFor(Baz.class));
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.29/
mockito-core-2.2.29.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.1/
mockito-core-2.7.1.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.6/
mockito-core-2.7.6.jar 
  /external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
mockito-core-1.10.19.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.10.19/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 

Completed in 224 milliseconds