Home
last modified time | relevance | path

Searched refs:Answer (Results 1 – 25 of 77) sorted by relevance

1234

/external/pdfium/testing/resources/javascript/
Dbug_361_expected.txt1 Alert: Answer for "goats" is: string goats
2 Alert: Answer for "b4" is: string b4
3 Alert: Answer for "b4.5" is: string b4.5
4 Alert: Answer for "4x" is: string 4x
5 Alert: Answer for "4.5x" is: string 4.5x
6 Alert: Answer for "4" is: number 4
7 Alert: Answer for " 4" is: number 4
8 Alert: Answer for "4 " is: number 4
9 Alert: Answer for " 4 " is: number 4
10 Alert: Answer for "4 3 2 1" is: string 4 3 2 1
[all …]
/external/e2fsprogs/resize/
Dtest_extent.in22 # Answer: 20
24 # Answer: 21
26 # Answer: 22
28 # Answer: 0 (not found)
30 # Answer: 45
32 # Answer: 0 (not found)
34 # Answer: 50
36 # Answer: 0 (not found)
38 # Answer: 0 (not found)
42 # Answer: 52
[all …]
/external/mockito/src/org/mockito/
DAdditionalAnswers.java10 import org.mockito.stubbing.Answer;
46 public static <T> Answer<T> returnsFirstArg() { in returnsFirstArg()
47 return (Answer<T>) RETURNS_FIRST_ARGUMENT; in returnsFirstArg()
66 public static <T> Answer<T> returnsSecondArg() { in returnsSecondArg()
67 return (Answer<T>) RETURNS_SECOND_ARGUMENT; in returnsSecondArg()
86 public static <T> Answer<T> returnsLastArg() { in returnsLastArg()
87 return (Answer<T>) RETURNS_LAST_ARGUMENT; in returnsLastArg()
106 public static <T> Answer<T> returnsArgAt(int position) { in returnsArgAt()
107 return (Answer<T>) new ReturnsArgumentAt(position); in returnsArgAt()
170 public static <T> Answer<T> delegatesTo(Object delegate) { in delegatesTo()
[all …]
DBDDMockito.java7 import org.mockito.stubbing.Answer;
70 BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer); in willAnswer()
76 BDDMyOngoingStubbing<T> will(Answer<?> answer); in will()
126 public BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer) { in willAnswer()
133 public BDDMyOngoingStubbing<T> will(Answer<?> answer) { in will()
190 BDDStubber willAnswer(Answer answer); in willAnswer()
247 public BDDStubber willAnswer(Answer answer) { in willAnswer()
307 public static BDDStubber willAnswer(Answer answer) { in willAnswer()
DAnswers.java12 import org.mockito.stubbing.Answer;
74 private Answer<Object> implementation;
76 private Answers(Answer<Object> implementation) { in Answers()
80 public Answer<Object> get() { in get()
DMockito.java943 public static final Answer<Object> RETURNS_DEFAULTS = Answers.RETURNS_DEFAULTS.get();
975 public static final Answer<Object> RETURNS_SMART_NULLS = Answers.RETURNS_SMART_NULLS.get();
988 public static final Answer<Object> RETURNS_MOCKS = Answers.RETURNS_MOCKS.get();
1075 public static final Answer<Object> RETURNS_DEEP_STUBS = Answers.RETURNS_DEEP_STUBS.get();
1109 public static final Answer<Object> CALLS_REAL_METHODS = Answers.CALLS_REAL_METHODS.get();
1215 public static <T> T mock(Class<T> classToMock, Answer defaultAnswer) { in mock()
1731 public static Stubber doAnswer(Answer answer) { in doAnswer()
DMockSettings.java9 import org.mockito.stubbing.Answer;
144 MockSettings defaultAnswer(Answer defaultAnswer); in defaultAnswer()
/external/mockito/src/org/mockito/internal/stubbing/
DStubbedInvocationMatcher.java14 import org.mockito.stubbing.Answer;
17 public class StubbedInvocationMatcher extends InvocationMatcher implements Answer, Serializable {
20 private final Queue<Answer> answers = new ConcurrentLinkedQueue<Answer>();
23 public StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer) { in StubbedInvocationMatcher()
30 Answer a; in answer()
37 public void addAnswer(Answer answer) { in addAnswer()
DInvocationContainerImpl.java16 import org.mockito.stubbing.Answer;
29 private final List<Answer> answersForStubbing = new ArrayList<Answer>();
48 public void addAnswer(Answer answer) { in addAnswer()
53 public void addConsecutiveAnswer(Answer answer) { in addConsecutiveAnswer()
57 public void addAnswer(Answer answer, boolean isConsecutive) { in addAnswer()
90 public void addAnswerForVoidMethod(Answer answer) { in addAnswerForVoidMethod()
94 public void setAnswersForStubbing(List<Answer> answers) { in setAnswersForStubbing()
DConsecutiveStubbing.java7 import org.mockito.stubbing.Answer;
18 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
23 public OngoingStubbing<T> then(Answer<?> answer) { in then()
27 public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer) { in toAnswer()
DOngoingStubbingImpl.java9 import org.mockito.stubbing.Answer;
23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
32 public OngoingStubbing<T> then(Answer<?> answer) { in then()
36 public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer) { in toAnswer()
DStubberImpl.java10 import org.mockito.stubbing.Answer;
19 final List<Answer> answers = new LinkedList<Answer>();
57 public Stubber doAnswer(Answer answer) { in doAnswer()
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
DAnswers.java9 import org.mockito.stubbing.Answer;
30 private Answer<Object> implementation;
32 private Answers(Answer<Object> implementation) { in Answers()
36 public Answer<Object> get() { in get()
DReturnsSmartNulls.java16 import org.mockito.stubbing.Answer;
36 public class ReturnsSmartNulls implements Answer<Object>, Serializable {
40 private final Answer<Object> delegate = new ReturnsMoreEmptyValues();
55 private static class ThrowsSmartNullPointer implements Answer {
DReturnsMocks.java12 import org.mockito.stubbing.Answer;
14 public class ReturnsMocks implements Answer<Object>, Serializable {
18 private Answer<Object> delegate = new ReturnsMoreEmptyValues();
DReturnsMoreEmptyValues.java13 import org.mockito.stubbing.Answer;
48 public class ReturnsMoreEmptyValues implements Answer<Object>, Serializable {
51 private Answer<Object> delegate = new ReturnsEmptyValues();
DGloballyConfiguredAnswer.java12 import org.mockito.stubbing.Answer;
19 public class GloballyConfiguredAnswer implements Answer<Object>, Serializable {
/external/mockito/src/org/mockito/internal/creation/settings/
DCreationSettings.java10 import org.mockito.stubbing.Answer;
28 protected Answer<Object> defaultAnswer;
75 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer()
/external/mockito/src/org/mockito/internal/stubbing/answers/
DDoesNothing.java10 import org.mockito.stubbing.Answer;
12 public class DoesNothing implements Answer<Object>, Serializable {
DCallsRealMethods.java10 import org.mockito.stubbing.Answer;
32 public class CallsRealMethods implements Answer<Object>, Serializable {
DAnswerReturnValuesAdapter.java11 import org.mockito.stubbing.Answer;
15 public class AnswerReturnValuesAdapter implements Answer<Object>, Serializable {
/external/mockito/src/org/mockito/configuration/
DIMockitoConfiguration.java9 import org.mockito.stubbing.Answer;
59 Answer<Object> getDefaultAnswer(); in getDefaultAnswer()
DDefaultMockitoConfiguration.java10 import org.mockito.stubbing.Answer;
31 public Answer<Object> getDefaultAnswer() { in getDefaultAnswer()
/external/mockito/src/org/mockito/mock/
DMockCreationSettings.java10 import org.mockito.stubbing.Answer;
39 Answer getDefaultAnswer(); in getDefaultAnswer()
/external/mockito/src/org/mockito/internal/
DInternalMockHandler.java12 import org.mockito.stubbing.Answer;
22 void setAnswersForStubbing(List<Answer> answers); in setAnswersForStubbing()

1234