HomeSort by relevance Sort by last modified time
    Searched full:returnsargumentat (Results 1 - 8 of 8) sorted by null

  /external/mockito/src/org/mockito/internal/stubbing/answers/
AnswersValidator.java 33 if (answer instanceof ReturnsArgumentAt) {
34 ReturnsArgumentAt returnsArgumentAt = (ReturnsArgumentAt) answer;
35 validateReturnArgIdentity(returnsArgumentAt, invocation);
39 private void validateReturnArgIdentity(ReturnsArgumentAt returnsArgumentAt, Invocation invocation) {
40 returnsArgumentAt.validateIndexWithinInvocationRange(invocation);
43 if (!methodInfo.isValidReturnType(returnsArgumentAt.returnedTypeOnSignature(invocation))) {
45 returnsArgumentAt.returnedTypeOnSignature(invocation),
    [all...]
ReturnsArgumentAt.java 22 public class ReturnsArgumentAt implements Answer<Object>, Serializable {
36 public ReturnsArgumentAt(int wantedArgumentPosition) {
  /external/mockito/src/org/mockito/
AdditionalAnswers.java 7 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
26 private static final ReturnsArgumentAt RETURNS_FIRST_ARGUMENT = new ReturnsArgumentAt(0);
27 private static final ReturnsArgumentAt RETURNS_SECOND_ARGUMENT = new ReturnsArgumentAt(1);
28 private static final ReturnsArgumentAt RETURNS_LAST_ARGUMENT = new ReturnsArgumentAt(-1);
107 return (Answer<T>) new ReturnsArgumentAt(position);
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5-sources.jar 
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5-sources.jar 
mockito-core-1.9.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 416 milliseconds