Searched refs:toBeReturned (Results 1 – 7 of 7) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StubberImpl.java | 52 public Stubber doReturn(Object toBeReturned) { in doReturn() argument 53 return doReturnValues(toBeReturned); in doReturn() 57 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument 58 return doReturnValues(toBeReturned).doReturnValues(nextToBeReturned); in doReturn() 61 private StubberImpl doReturnValues(Object... toBeReturned) { in doReturnValues() argument 62 if (toBeReturned == null) { in doReturnValues() 66 for (Object r : toBeReturned) { in doReturnValues()
|
D | DefaultLenientStubber.java | 44 public Stubber doReturn(Object toBeReturned) { in doReturn() argument 45 return stubber().doReturn(toBeReturned); in doReturn() 49 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument 50 return stubber().doReturn(toBeReturned, nextToBeReturned); in doReturn()
|
/external/mockito/src/main/java/org/mockito/ |
D | BDDMockito.java | 359 BDDStubber willReturn(Object toBeReturned); in willReturn() argument 366 BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned); in willReturn() argument 432 public BDDStubber willReturn(Object toBeReturned) { in willReturn() argument 433 return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned)); in willReturn() 436 public BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned) { in willReturn() argument 437 … return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned).doReturn(nextToBeReturned)); in willReturn() 509 public static BDDStubber willReturn(Object toBeReturned) { in willReturn() argument 510 return new BDDStubberImpl(Mockito.doReturn(toBeReturned)); in willReturn() 518 public static BDDStubber willReturn(Object toBeReturned, Object... toBeReturnedNext) { in willReturn() argument 519 return new BDDStubberImpl(Mockito.doReturn(toBeReturned, toBeReturnedNext)); in willReturn()
|
D | Mockito.java | 2481 public static Stubber doReturn(Object toBeReturned) { in doReturn() argument 2482 return MOCKITO_CORE.stubber().doReturn(toBeReturned); in doReturn() 2536 public static Stubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn() argument 2537 return MOCKITO_CORE.stubber().doReturn(toBeReturned, toBeReturnedNext); in doReturn()
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
D | StaticCapableStubber.java | 188 public StaticCapableStubber doReturn(Object toBeReturned) { in doReturn() argument 189 instanceStubber = instanceStubber.doReturn(toBeReturned); in doReturn() 194 public StaticCapableStubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument 195 instanceStubber = instanceStubber.doReturn(toBeReturned, nextToBeReturned); in doReturn()
|
D | ExtendedMockito.java | 104 public static StaticCapableStubber doReturn(Object toBeReturned) { in doReturn() argument 105 return new StaticCapableStubber(Mockito.doReturn(toBeReturned)); in doReturn() 113 public static StaticCapableStubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn() argument 114 return new StaticCapableStubber(Mockito.doReturn(toBeReturned, toBeReturnedNext)); in doReturn()
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | BaseStubber.java | 103 Stubber doReturn(Object toBeReturned); in doReturn() argument 115 Stubber doReturn(Object toBeReturned, Object... nextToBeReturned); in doReturn() argument
|