Home
last modified time | relevance | path

Searched defs:answer (Results 1 – 25 of 180) sorted by relevance

12345678

/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java332 public static <T> Answer<T> answersWithDelay(long sleepyTime, Answer<T> answer) { in answersWithDelay()
346 public static <T, A> Answer<T> answer(Answer1<T, A> answer) { in answer() method in AdditionalAnswers
359 public static <A> Answer<Void> answerVoid(VoidAnswer1<A> answer) { in answerVoid()
374 public static <T, A, B> Answer<T> answer(Answer2<T, A, B> answer) { in answer() argument
388 public static <A, B> Answer<Void> answerVoid(VoidAnswer2<A, B> answer) { in answerVoid()
404 public static <T, A, B, C> Answer<T> answer(Answer3<T, A, B, C> answer) { in answer() argument
419 public static <A, B, C> Answer<Void> answerVoid(VoidAnswer3<A, B, C> answer) { in answerVoid()
436 public static <T, A, B, C, D> Answer<T> answer(Answer4<T, A, B, C, D> answer) { in answer() method in AdditionalAnswers
452 public static <A, B, C, D> Answer<Void> answerVoid(VoidAnswer4<A, B, C, D> answer) { in answerVoid()
470 public static <T, A, B, C, D, E> Answer<T> answer(Answer5<T, A, B, C, D, E> answer) { in answer() method in AdditionalAnswers
[all …]
DBDDMockito.java93 BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer); in willAnswer()
99 BDDMyOngoingStubbing<T> will(Answer<?> answer); in will()
155 public BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer) { in willAnswer()
159 public BDDMyOngoingStubbing<T> will(Answer<?> answer) { in will()
330 BDDStubber willAnswer(Answer<?> answer); in willAnswer()
336 BDDStubber will(Answer<?> answer); in will()
412 public BDDStubber willAnswer(Answer<?> answer) { in willAnswer()
416 public BDDStubber will(Answer<?> answer) { in will()
485 public static BDDStubber willAnswer(Answer<?> answer) { in willAnswer()
493 public static BDDStubber will(Answer<?> answer) { in will()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSortedListsTest.java37 void assertModelAgrees(List<Integer> list, Integer key, int answer, in assertModelAgrees()
42 assertEquals(list.indexOf(key), answer); in assertModelAgrees() local
48 assertEquals(list.lastIndexOf(key), answer); in assertModelAgrees() local
60 assertEquals(list.lastIndexOf(key) + 1, answer); in assertModelAgrees() local
66 assertEquals(list.indexOf(key) - 1, answer); in assertModelAgrees() local
/external/guava/guava-tests/test/com/google/common/collect/
DSortedListsTest.java39 void assertModelAgrees(List<Integer> list, Integer key, int answer, in assertModelAgrees()
44 assertEquals(list.indexOf(key), answer); in assertModelAgrees() local
50 assertEquals(list.lastIndexOf(key), answer); in assertModelAgrees() local
62 assertEquals(list.lastIndexOf(key) + 1, answer); in assertModelAgrees() local
68 assertEquals(list.indexOf(key) - 1, answer); in assertModelAgrees() local
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsSmartNullsTest.java21 Answer<Object> answer = new ReturnsSmartNulls(); in should_return_the_usual_default_values_for_primitives() local
40 Answer<Object> answer = new ReturnsSmartNulls(); in should_return_an_object_that_fails_on_any_method_invocation_for_non_primitives() local
52 Answer<Object> answer = new ReturnsSmartNulls(); in should_return_an_object_that_allows_object_methods() local
63 Answer<Object> answer = new ReturnsSmartNulls(); in should_print_the_parameters_when_calling_a_method_with_args() local
75 Answer<Object> answer = new ReturnsSmartNulls(); in should_print_the_parameters_on_SmartNullPointerException_message() local
/external/easymock/src/org/easymock/internal/
DResult.java41 public Object answer() throws Throwable { in createThrowResult() method in Result.ThrowingAnswer
58 public Object answer() throws Throwable { in createReturnResult() method in Result.ReturningAnswer
75 public Object answer() throws Throwable { in createDelegatingResult() method in Result.DelegatingAnswer
98 public static Result createAnswerResult(IAnswer<?> answer) { in createAnswerResult()
102 public Object answer() throws Throwable { in answer() method in Result
DIMocksControlState.java30 void andAnswer(IAnswer<?> answer); in andAnswer()
32 void andDelegateTo(Object answer); in andDelegateTo()
38 void andStubAnswer(IAnswer<?> answer); in andStubAnswer()
DReplayState.java103 public void andAnswer(IAnswer<?> answer) { in andAnswer()
107 public void andDelegateTo(Object answer) { in andDelegateTo()
119 public void andStubAnswer(IAnswer<?> answer) { in andStubAnswer()
/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc155 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
169 std::vector<CryptoParams> offer, answer; in TEST_F() local
177 std::vector<CryptoParams> answer; in TEST_F() local
186 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
245 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
257 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
267 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
277 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
288 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
298 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F() local
[all …]
Dmediasession_unittest.cc451 rtc::scoped_ptr<SessionDescription> answer( in TestMediaDirectionInAnswer() local
583 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
773 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
799 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
832 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
881 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
931 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
957 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
983 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
1010 rtc::scoped_ptr<SessionDescription> answer( in TEST_F() local
[all …]
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DAnswersWithDelay.java27 private final Answer<Object> answer; field in AnswersWithDelay
29 public AnswersWithDelay(final long sleepyTime, final Answer<Object> answer) { in AnswersWithDelay()
35 public Object answer(final InvocationOnMock invocation) throws Throwable { in answer() method in AnswersWithDelay
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubbedInvocationMatcher.java27 …public StubbedInvocationMatcher(Answer answer, MatchableInvocation invocation, Strictness strictne… in StubbedInvocationMatcher()
33 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() method in StubbedInvocationMatcher
42 public void addAnswer(Answer answer) { in addAnswer()
DConsecutiveStubbing.java17 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
22 public OngoingStubbing<T> then(Answer<?> answer) { in then()
DOngoingStubbingImpl.java26 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()
36 public OngoingStubbing<T> then(Answer<?> answer) { in then()
DInvocationContainerImpl.java54 public void addAnswer(Answer answer, Strictness stubbingStrictness) { in addAnswer()
59 public void addConsecutiveAnswer(Answer answer) { in addConsecutiveAnswer()
66 …public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive, Strictness stubbin… in addAnswer()
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc744 const webrtc::SessionDescriptionInterface* answer = CreateAnswer(NULL); in VerifyAnswerFromNonCryptoOffer() local
758 scoped_ptr<SessionDescriptionInterface> answer(CreateAnswer(NULL)); in VerifyAnswerFromCryptoOffer() local
873 SessionDescriptionInterface* answer = CreateAnswer(NULL); in CreateAndSetRemoteOfferAndLocalAnswer() local
1059 JsepSessionDescription* answer( in CreateRemoteAnswer() local
1099 rtc::scoped_ptr<SessionDescriptionInterface> answer( in TestSessionCandidatesWithBundleRtcpMux() local
1595 SessionDescriptionInterface* answer = in TEST_F() local
1648 SessionDescriptionInterface* answer = CreateAnswer(NULL); in TEST_F() local
1763 SessionDescriptionInterface* answer = NULL; in TEST_F() local
1776 SessionDescriptionInterface* answer = NULL; in TEST_F() local
1803 SessionDescriptionInterface* answer = CreateAnswer(NULL); in TEST_P() local
[all …]
/external/skia/tests/
DGlyphRunTest.cpp32 uint16_t answer[] = {0, 1, 2, 1, 3}; in DEF_TEST() local
38 SkGlyphID answer[] = {100, 3, 240, 234}; in DEF_TEST() local
/external/skqp/tests/
DGlyphRunTest.cpp32 uint16_t answer[] = {0, 1, 2, 1, 3}; in DEF_TEST() local
38 SkGlyphID answer[] = {100, 3, 240, 234}; in DEF_TEST() local
/external/libcxx/test/std/thread/futures/futures.async/
Dasync_race.38682.pass.cpp48 int answer = fut.get(); in main() local
57 int& answer = fut.get(); in main() local
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsSmartNulls.java43 public Object answer(final InvocationOnMock invocation) throws Throwable { in answer() method in ReturnsSmartNulls
65 public Object answer(InvocationOnMock currentInvocation) throws Throwable { in answer() method in ReturnsSmartNulls.ThrowsSmartNullPointer
DReturnsDeepStubs.java47 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() method in ReturnsDeepStubs
120 DeeplyStubbedAnswer answer = new DeeplyStubbedAnswer(mock); in recordDeepStubAnswer() local
155 public Object answer(InvocationOnMock invocation) throws Throwable { in answer() method in ReturnsDeepStubs.DeeplyStubbedAnswer
/external/mockito/src/main/java/org/mockito/stubbing/
DOngoingStubbing.java196 OngoingStubbing<T> thenAnswer(Answer<?> answer); in thenAnswer()
217 OngoingStubbing<T> then(Answer<?> answer); in then()
/external/libhevc/encoder/
Dsqrt_interp.c54 WORD32 index, answer, temp, delta, step_size; in sqrtFix_interpolate() local
89 WORD32 index, answer, temp; in sqrtFix() local
/external/easymock/src/org/easymock/
DIExpectationSetters.java53 IExpectationSetters<T> andAnswer(IAnswer<? extends T> answer); in andAnswer()
91 void andStubAnswer(IAnswer<? extends T> answer); in andStubAnswer()
/external/openssh/openbsd-compat/
Dgetrrsetbyname.c168 struct dns_rr *answer; member
198 u_char answer[ANSWER_BUFFER_SIZE]; in getrrsetbyname() local
383 parse_dns_response(const u_char *answer, int size) in parse_dns_response()
448 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count) in parse_dns_qsection()
494 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, in parse_dns_rrsection()

12345678