Home
last modified time | relevance | path

Searched defs:invocation (Results 1 – 25 of 61) sorted by relevance

123

/external/mockito/src/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java40 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
46 private int actualArgumentPosition(InvocationOnMock invocation) { in actualArgumentPosition()
56 private int argumentIndexOf(InvocationOnMock invocation) { in argumentIndexOf()
60 private int lastArgumentIndexOf(InvocationOnMock invocation) { in lastArgumentIndexOf()
75 public void validateIndexWithinInvocationRange(InvocationOnMock invocation) { in validateIndexWithinInvocationRange()
83 private boolean argumentPositionInRange(InvocationOnMock invocation) { in argumentPositionInRange()
95 public Class returnedTypeOnSignature(InvocationOnMock invocation) { in returnedTypeOnSignature()
DAnswersValidator.java15 public void validate(Answer<?> answer, Invocation invocation) { in validate()
39 …rivate void validateReturnArgIdentity(ReturnsArgumentAt returnsArgumentAt, Invocation invocation) { in validateReturnArgIdentity()
DCallsRealMethods.java35 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
DDoesNothing.java16 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
DClonesArguments.java16 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
DReturnsElementsOf.java45 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
DAnswerReturnValuesAdapter.java24 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/external/mockito/src/org/mockito/internal/invocation/
DInvocationMatcher.java27 private final Invocation invocation; field in InvocationMatcher
30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) { in InvocationMatcher()
39 public InvocationMatcher(Invocation invocation) { in InvocationMatcher()
120 public void captureArgumentsFrom(Invocation invocation) { in captureArgumentsFrom()
141 private boolean isVariableArgument(Invocation invocation, int position) { in isVariableArgument()
DMatchersBinder.java22 …ocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation) { in bindMatchers()
30 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) { in validateMatchers()
/external/easymock/src/org/easymock/internal/
DExpectedInvocation.java31 private final Invocation invocation; field in ExpectedInvocation
38 public ExpectedInvocation(Invocation invocation, in ExpectedInvocation()
43 private ExpectedInvocation(Invocation invocation, in ExpectedInvocation()
52 private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, in createMissingMatchers()
/external/mockito/src/org/mockito/internal/stubbing/
DInvocationContainerImpl.java39 public void setInvocationForPotentialStubbing(InvocationMatcher invocation) { in setInvocationForPotentialStubbing()
58 Invocation invocation = invocationForStubbing.getInvocation(); in addAnswer() local
72 Object answerTo(Invocation invocation) throws Throwable { in answerTo()
76 public StubbedInvocationMatcher findAnswerFor(Invocation invocation) { in findAnswerFor()
106 public void setMethodForStubbing(InvocationMatcher invocation) { in setMethodForStubbing()
DStubbedInvocationMatcher.java23 public StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer) { in StubbedInvocationMatcher()
28 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/external/mockito/src/org/mockito/internal/listeners/
DNotifiedMethodInvocationReport.java15 private final Invocation invocation; field in NotifiedMethodInvocationReport
27 public NotifiedMethodInvocationReport(Invocation invocation, Object returnedValue) { in NotifiedMethodInvocationReport()
39 public NotifiedMethodInvocationReport(Invocation invocation, Throwable throwable) { in NotifiedMethodInvocationReport()
/external/mockito/src/org/mockito/internal/handler/
DInvocationNotifierHandler.java36 public Object handle(Invocation invocation) throws Throwable { in handle()
48 private void notifyMethodCall(Invocation invocation, Object returnValue) { in notifyMethodCall()
58 private void notifyMethodCallException(Invocation invocation, Throwable exception) { in notifyMethodCallException()
/external/mockito/src/org/mockito/internal/verification/
DSingleRegisteredInvocation.java16 private Invocation invocation; field in SingleRegisteredInvocation
18 public void add(Invocation invocation) { in add()
DDefaultRegisteredInvocations.java23 public void add(Invocation invocation) { in add()
54 public boolean isOut(Invocation invocation) { in isOut()
DRegisteredInvocations.java18 void add(Invocation invocation); in add()
DInOrderContextImpl.java15 public boolean isVerified(Invocation invocation) { in isVerified()
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
DReturnsDeepStubs.java47 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
59 …private Object getMock(InvocationOnMock invocation, GenericMetadataSupport returnTypeGenericMetada… in getMock()
DGloballyConfiguredAnswer.java23 public Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/external/mockito/src/org/mockito/internal/reporting/
DPrintSettings.java46 public String print(List<Matcher> matchers, Invocation invocation) { in print()
57 public String print(Invocation invocation) { in print()
/external/mockito/src/org/mockito/
DReturnValues.java36 Object valueFor(InvocationOnMock invocation) throws Throwable; in valueFor()
/external/mockito/src/org/mockito/stubbing/
DAnswer.java38 T answer(InvocationOnMock invocation) throws Throwable; in answer()
/external/mockito/src/org/mockito/invocation/
DMockHandler.java32 Object handle(Invocation invocation) throws Throwable; in handle()
/external/mockito/src/org/mockito/internal/verification/api/
DInOrderContext.java11 boolean isVerified(Invocation invocation); in isVerified()

123