HomeSort by relevance Sort by last modified time
    Searched full:answer (Results 76 - 100 of 2491) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
SortedListsTest.java 39 void assertModelAgrees(List<Integer> list, Integer key, int answer,
44 assertEquals(list.indexOf(key), answer); local
50 assertEquals(list.lastIndexOf(key), answer); local
56 assertEquals(key, list.get(answer));
62 assertEquals(list.lastIndexOf(key) + 1, answer); local
68 assertEquals(list.indexOf(key) - 1, answer); local
82 assertEquals(nextHigherIndex - 1, answer);
85 assertEquals(nextHigherIndex, answer);
88 assertEquals(-1 - nextHigherIndex, answer);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/
StubberImpl.java 19 import org.mockito.stubbing.Answer;
25 private final List<Answer<?>> answers = new LinkedList<Answer<?>>();
98 public Stubber doAnswer(Answer answer) {
99 answers.add(answer);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
CallsRealMethods.java 10 import org.mockito.stubbing.Answer;
17 * Optional Answer that adds partial mocking support
19 * {@link Answer} can be used to define the return values of unstubbed invocations.
36 public class CallsRealMethods implements Answer<Object>, ValidableAnswer, Serializable {
39 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:CallsRealMethods
41 return RETURNS_DEFAULTS.answer(invocation);
Returns.java 10 import org.mockito.stubbing.Answer;
16 public class Returns implements Answer<Object>, ValidableAnswer, Serializable {
25 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:Returns
ReturnsElementsOf.java 11 import org.mockito.stubbing.Answer;
32 public class ReturnsElementsOf implements Answer<Object> {
44 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsElementsOf
  /external/parameter-framework/upstream/remote-processor/
AnswerMessage.cpp 46 // Answer
61 * (answer or request), and content of the message (answer is success or failure). Getting a
70 // Answer
77 // Send answer
84 // Receive answer
AnswerMessage.h 42 // Answer
54 /** @return size of the answer message in bytes
57 // Answer
60 // Answer
  /external/ltp/testcases/misc/math/nextafter/
nextafter01.c 61 double answer; local
68 answer = nextafter(1.0, 1.1);
69 check = (answer + 1.0) / 2;
70 if ((check != answer) && ((float)check != 1.0)) {
71 fprintf(temp, "nextafter returned %e, expected answer or 1.0\n",
72 answer);
80 answer = nextafter(1.0, 0.9);
81 if ((check != answer) && (check != 1.0)) {
82 fprintf(temp, "nextafter returned %e, expected answer or 1.0\n",
83 answer);
    [all...]
  /external/mockito/src/main/java/org/mockito/
BDDMockito.java 7 import org.mockito.stubbing.Answer;
90 * See original {@link OngoingStubbing#thenAnswer(Answer)}
93 BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer);
96 * See original {@link OngoingStubbing#then(Answer)}
99 BDDMyOngoingStubbing<T> will(Answer<?> answer);
155 public BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer) {
156 return new BDDOngoingStubbingImpl<T>(mockitoOngoingStubbing.thenAnswer(answer));
    [all...]
  /development/samples/browseable/Quiz/
_index.jd 12 by answers as actions. When an answer is selected, the corresponding question\'s DataItem is updated,
13 which allows the phone application to update the status of the question (i.e. did the user answer it
  /external/mockito/src/main/java/org/mockito/configuration/
DefaultMockitoConfiguration.java 9 import org.mockito.stubbing.Answer;
20 public Answer<Object> getDefaultAnswer() {
  /external/mockito/src/main/java/org/mockito/internal/configuration/
MockAnnotationProcessor.java 31 // see @Mock answer default value
32 mockSettings.defaultAnswer(annotation.answer());
  /external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
ForwardsInvocationsTest.java 24 assertEquals(4, forwardsInvocations.answer(invocationOf(Foo.class, "bar", "b", new Object[] {12, "3", 4.5})));
30 assertEquals(1, forwardsInvocations.answer(invocationOf(Foo.class, "bar", "b", new Object[] {})));
  /external/webrtc/webrtc/tools/rtcbot/test/
ping_pong.js 14 function gotAnswer(answer) {
15 test.log('bot > ' + answer);
  /packages/apps/Dialer/java/com/android/incallui/answer/protocol/
AnswerScreen.java 17 package com.android.incallui.answer.protocol;
22 /** Interface for the answer module. */
  /packages/apps/Dialer/java/com/android/incallui/sessiondata/res/values/
strings.xml 18 <string name="spam_photo_text">Answer to reveal photo</string>
19 <string name="spam_message_text">Answer to reveal message</string>
  /external/webrtc/talk/app/webrtc/
webrtcsession_unittest.cc 744 const webrtc::SessionDescriptionInterface* answer = CreateAnswer(NULL); local
745 // Answer should be NULL as no crypto params in offer.
746 ASSERT_TRUE(answer == NULL);
758 scoped_ptr<SessionDescriptionInterface> answer(CreateAnswer(NULL));
759 ASSERT_TRUE(answer.get() != NULL);
760 VerifyCryptoParams(answer->description());
873 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1595 SessionDescriptionInterface* answer = local
1648 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1763 SessionDescriptionInterface* answer = NULL; local
1776 SessionDescriptionInterface* answer = NULL; local
1803 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1833 JsepSessionDescription* answer = local
1873 SessionDescriptionInterface* answer = NULL; local
1893 JsepSessionDescription* answer = local
1922 JsepSessionDescription* answer = local
1950 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1975 SessionDescriptionInterface* answer = local
2083 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2109 SessionDescriptionInterface* answer = local
2119 SessionDescriptionInterface* answer = local
2130 SessionDescriptionInterface* answer = local
2153 SessionDescriptionInterface* answer = CreateRemoteAnswer( local
2298 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2324 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2365 SessionDescriptionInterface* answer = local
2494 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
2660 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer, options); local
2718 SessionDescriptionInterface* answer = CreateRemoteAnswer( local
2990 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3077 SessionDescriptionInterface* answer = local
3130 SessionDescriptionInterface* answer = local
3157 SessionDescriptionInterface* answer = local
3213 SessionDescriptionInterface* answer = CreateAnswer(nullptr); local
3253 SessionDescriptionInterface* answer = local
3319 SessionDescriptionInterface* answer = local
3339 SessionDescriptionInterface* answer = local
3517 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
3530 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3591 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3630 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3750 SessionDescriptionInterface* answer = local
3894 SessionDescriptionInterface* answer = ChangeSDPSctpPort( local
4164 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
4194 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
4227 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
4270 SessionDescriptionInterface* answer = local
    [all...]
  /external/fmtlib/test/
string-test.cc 63 out << "The answer is " << 42 << "\n";
66 EXPECT_EQ("The answer is 42\n", s);
72 out << "The answer is " << 42 << "\n";
75 EXPECT_EQ(L"The answer is 42\n", s);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ForwardsInvocations.java 16 import org.mockito.stubbing.Answer;
19 * Internal answer to forward invocations on a real instance.
23 public class ForwardsInvocations implements Answer<Object>, Serializable {
32 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ForwardsInvocations
  /prebuilts/go/darwin-x86/misc/cgo/fortran/
fortran_test.go 11 t.Errorf("Unexpected result for The Answer. Got: %d Want: 42", a)
  /prebuilts/go/linux-x86/misc/cgo/fortran/
fortran_test.go 11 t.Errorf("Unexpected result for The Answer. Got: %d Want: 42", a)
  /bionic/tests/libs/
dlsym_from_this_functions.cpp 28 printf("Cannot find the answer\n");
38 printf("Cannot find the answer\n");
48 printf("Cannot find the answer\n");
  /external/easymock/src/org/easymock/
IExpectationSetters.java 46 * Sets an object that will be used to calculate the answer for the expected
49 * @param answer
50 * the object used to answer the invocation.
53 IExpectationSetters<T> andAnswer(IAnswer<? extends T> answer);
57 * method call will be delegated to it with the actual arguments. The answer
58 * returned by this call will then be the answer returned by the mock
85 * Sets a stub object that will be used to calculate the answer for the
88 * @param answer
89 * the object used to answer the invocation.
91 void andStubAnswer(IAnswer<? extends T> answer);
    [all...]
  /external/easymock/src/org/easymock/internal/
IMocksControlState.java 30 void andAnswer(IAnswer<?> answer);
32 void andDelegateTo(Object answer);
38 void andStubAnswer(IAnswer<?> answer);
  /external/jmdns/src/javax/jmdns/impl/tasks/
DNSTask.java 99 * Add an answer if it is not suppressed.
106 * DNS record answer
107 * @return outgoing message for the next answer
131 * Add an answer to the message.
136 * DNS record answer
138 * @return outgoing message for the next answer
162 * Add an authoritative answer to the message.
167 * DNS record answer
168 * @return outgoing message for the next answer
192 * Add an additional answer to the record. Omit if there is no room
    [all...]

Completed in 1071 milliseconds

1 2 34 5 6 7 8 91011>>