/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | ReturnsArgumentAt.java | 11 import org.mockito.invocation.InvocationOnMock; 46 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 60 public void validateFor(InvocationOnMock invocation) { in validateFor() 66 private int inferWantedArgumentPosition(InvocationOnMock invocation) { in inferWantedArgumentPosition() 72 …private void validateIndexWithinInvocationRange(InvocationOnMock invocation, int argumentPosition)… in validateIndexWithinInvocationRange() 80 …private void validateArgumentTypeCompatibility(InvocationOnMock invocation, int argumentPosition) { in validateArgumentTypeCompatibility() 98 …private boolean wantedArgumentPositionIsValidForInvocation(InvocationOnMock invocation, int argume… in wantedArgumentPositionIsValidForInvocation() 109 private Class<?> inferWantedArgumentType(InvocationOnMock invocation, int argumentPosition) { in inferWantedArgumentType()
|
D | AnswerFunctionalInterfaces.java | 7 import org.mockito.invocation.InvocationOnMock; 42 public T answer(InvocationOnMock invocation) throws Throwable { in toAnswer() 57 public Void answer(InvocationOnMock invocation) throws Throwable { 75 public T answer(InvocationOnMock invocation) throws Throwable { 93 public Void answer(InvocationOnMock invocation) throws Throwable { 114 public T answer(InvocationOnMock invocation) throws Throwable { 134 public Void answer(InvocationOnMock invocation) throws Throwable { 157 public T answer(InvocationOnMock invocation) throws Throwable { 179 public Void answer(InvocationOnMock invocation) throws Throwable { 204 public T answer(InvocationOnMock invocation) throws Throwable { [all …]
|
D | DoesNothing.java | 9 import org.mockito.invocation.InvocationOnMock; 28 public Object answer(InvocationOnMock invocation){ in answer() 33 public void validateFor(InvocationOnMock invocation) { in validateFor()
|
D | CallsRealMethods.java | 9 import org.mockito.invocation.InvocationOnMock; 39 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 47 public void validateFor(InvocationOnMock invocation) { in validateFor()
|
D | Returns.java | 9 import org.mockito.invocation.InvocationOnMock; 25 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 30 public void validateFor(InvocationOnMock invocation) { in validateFor()
|
D | ThrowsException.java | 10 import org.mockito.invocation.InvocationOnMock; 27 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 41 public void validateFor(InvocationOnMock invocation) { in validateFor()
|
D | DefaultAnswerValidator.java | 8 import org.mockito.invocation.InvocationOnMock; 13 …public static void validateReturnValueFor(InvocationOnMock invocation, Object returnedValue) throw… in validateReturnValueFor()
|
D | ReturnsElementsOf.java | 10 import org.mockito.invocation.InvocationOnMock; 44 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | ThrowsExceptionClass.java | 9 import org.mockito.invocation.InvocationOnMock; 33 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | ClonesArguments.java | 11 import org.mockito.invocation.InvocationOnMock; 17 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | InvocationInfo.java | 11 import org.mockito.invocation.InvocationOnMock; 17 public InvocationInfo(InvocationOnMock theInvocation) { in InvocationInfo()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsSmartNulls.java | 15 import org.mockito.invocation.InvocationOnMock; 43 public Object answer(final InvocationOnMock invocation) throws Throwable { in answer() 57 private final InvocationOnMock unstubbedInvocation; 60 public ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location) { in ThrowsSmartNullPointer() 65 public Object answer(InvocationOnMock currentInvocation) throws Throwable { in answer()
|
D | ReturnsDeepStubs.java | 16 import org.mockito.invocation.InvocationOnMock; 47 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() 59 …private Object deepStub(InvocationOnMock invocation, GenericMetadataSupport returnTypeGenericMetad… in deepStub() 155 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | GloballyConfiguredAnswer.java | 11 import org.mockito.invocation.InvocationOnMock; 23 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | TriesToReturnSelf.java | 8 import org.mockito.invocation.InvocationOnMock; 17 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | ReturnsMocks.java | 9 import org.mockito.invocation.InvocationOnMock; 20 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
D | ReturnsMoreEmptyValues.java | 11 import org.mockito.invocation.InvocationOnMock; 55 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingWithCustomAnswerTest.java | 9 import org.mockito.invocation.InvocationOnMock; 27 public String answer(InvocationOnMock invocation) throws Throwable { in shouldAnswer() 51 public String answer(InvocationOnMock invocation) throws Throwable { in shouldAnswerConsecutively() 57 public String answer(InvocationOnMock invocation) throws Throwable { in shouldAnswerConsecutively() 105 public String answer(InvocationOnMock invocation) throws Throwable { in shouldMakeSureTheInterfaceDoesNotChange() 123 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ClassCastExOnVerifyZeroInteractionsTest.java | 6 import org.mockito.invocation.InvocationOnMock; 20 public Object answer(InvocationOnMock invocation) throws Throwable { in should_not_throw_ClassCastException_when_mock_verification_fails() 31 public Object answer(InvocationOnMock invocation) throws Throwable { in should_report_bogus_default_answer()
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | Answer.java | 7 import org.mockito.invocation.InvocationOnMock; 38 T answer(InvocationOnMock invocation) throws Throwable; in answer()
|
D | ValidableAnswer.java | 9 import org.mockito.invocation.InvocationOnMock; 91 void validateFor(InvocationOnMock invocation); in validateFor()
|
/external/mockito/src/test/java/org/mockito/internal/configuration/ |
D | ClassPathLoaderTest.java | 4 import org.mockito.invocation.InvocationOnMock; 17 public Object answer(InvocationOnMock invocation) { in shouldReadConfigurationClassFromClassPath()
|
/external/volley/src/test/java/com/android/volley/ |
D | RequestQueueIntegrationTest.java | 29 import org.mockito.invocation.InvocationOnMock; 75 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable { in add_requestProcessedInCorrectOrder() 113 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable { in add_dedupeByCacheKey() 146 public NetworkResponse answer(InvocationOnMock invocationOnMock) throws Throwable { in add_requestFinishedListenerCanceled()
|
/external/mockito/src/main/java/org/mockito/ |
D | Answers.java | 13 import org.mockito.invocation.InvocationOnMock; 99 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StubbedInvocationMatcher.java | 10 import org.mockito.invocation.InvocationOnMock; 29 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
|