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

1 2 3 4 56 7 8 91011>>

  /external/mockito/src/main/java/org/mockito/mock/
MockCreationSettings.java 10 import org.mockito.stubbing.Answer;
36 * the default answer for this mock, see {@link org.mockito.MockSettings#defaultAnswer}.
38 Answer<?> getDefaultAnswer();
  /external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
CallsRealMethodsTest.java 32 new CallsRealMethods().answer(concrete);
42 assertThat(new CallsRealMethods().answer(abstractMethod)).isEqualTo(RETURNS_DEFAULTS.answer(abstractMethod));
ReturnsArgumentAtTest.java 21 assertThat(new ReturnsArgumentAt(0).answer(invocationWith("A", "B"))).isEqualTo("A");
27 assertThat(new ReturnsArgumentAt(1).answer(invocationWith("A", "B", "C"))).isEqualTo("B");
32 assertThat(new ReturnsArgumentAt(-1).answer(invocationWith("A"))).isEqualTo("A");
33 assertThat(new ReturnsArgumentAt(-1).answer(invocationWith("A", "B"))).isEqualTo("B");
38 assertThat(new ReturnsArgumentAt(0).answer(invocationWith("A", "B", "C"))).isEqualTo("A");
39 assertThat(new ReturnsArgumentAt(1).answer(invocationWith("A", "B", "C"))).isEqualTo("B");
40 assertThat(new ReturnsArgumentAt(2).answer(invocationWith("A", "B", "C"))).isEqualTo("C");
83 assertThat(new ReturnsArgumentAt(1).answer(mixedVarargsReturningStringArray)).isEqualTo(new String[]{"A", "B", "C"});
90 assertThat(new ReturnsArgumentAt(1).answer(mixedVarargsReturningObjectArray)).isEqualTo(new String[]{"A", "B", "C"});
ThrowsExceptionTest.java 18 new ThrowsException(new IllegalStateException("my dear throwable")).answer(new InvocationBuilder().method("canThrowException").toInvocation());
28 new ThrowsException(mock(Exception.class)).answer(new InvocationBuilder().method("canThrowException").toInvocation());
45 new ThrowsException(throwableToRaise).answer(new InvocationBuilder().method("canThrowException").toInvocation());
51 assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("answer");
  /external/ppp/pppd/plugins/pppoatm/
ans.c 43 unsigned char answer[MAX_ANSWER]; local
50 if ((answer_len = res_search(text,C_IN,wanted,answer,MAX_ANSWER)) < 0)
56 pos = answer+12;
57 if (answer[3] & 15) return TRY_OTHER; /* rcode != 0 */
58 questions = GET16(answer+4);
60 answers = GET16(answer+6);
65 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0)
80 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)
    [all...]
  /external/strace/tests/
answer.c 37 static const kernel_ulong_t answer = local
40 syscall(__NR_exit_group, answer);
41 syscall(__NR_exit, answer);
qual_fault-exit_group.test 44 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ./answer
47 -efault=\!process:error=1 ./answer
50 -efault=exit:error=1:when=2+ ./answer
53 -efault=\!desc,file,memory,process,signal,network,ipc:error=1 ./answer
  /external/strace/tests-m32/
answer.c 37 static const kernel_ulong_t answer = local
40 syscall(__NR_exit_group, answer);
41 syscall(__NR_exit, answer);
qual_fault-exit_group.test 44 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ./answer
47 -efault=\!process:error=1 ./answer
50 -efault=exit:error=1:when=2+ ./answer
53 -efault=\!desc,file,memory,process,signal,network,ipc:error=1 ./answer
  /external/strace/tests-mx32/
answer.c 37 static const kernel_ulong_t answer = local
40 syscall(__NR_exit_group, answer);
41 syscall(__NR_exit, answer);
qual_fault-exit_group.test 44 test_with -eexit,exit_group -efault=exit_group:error=ENOSYS ./answer
47 -efault=\!process:error=1 ./answer
50 -efault=exit:error=1:when=2+ ./answer
53 -efault=\!desc,file,memory,process,signal,network,ipc:error=1 ./answer
  /external/webrtc/webrtc/p2p/base/
transportdescriptionfactory_unittest.cc 57 // This test ice restart by doing two offer answer exchanges. On the second
59 // in the offer and answer is changed.
73 // The initial offer / answer exchange.
76 rtc::scoped_ptr<TransportDescription> answer(
87 // Create a new answer. The transport ufrag and password is changed since
90 f2_.CreateAnswer(restart_offer.get(), options, answer.get()));
93 VerifyUfragAndPasswordChanged(dtls, answer.get(), restart_answer.get());
180 // Test that we can update an answer properly; ICE credentials shouldn't change.
233 // f2_ produces the answer that is being checked in this test, so the
234 // answer must contain fingerprint lines with cert2_'s digest algorithm
    [all...]
  /cts/tests/tests/net/jni/
NativeDnsJni.c 33 struct addrinfo *answer; local
35 int res = getaddrinfo(node, service, NULL, &answer);
43 struct addrinfo *current = answer;
60 freeaddrinfo(answer);
61 answer = NULL;
69 res = getaddrinfo(node, service, NULL, &answer);
76 struct addrinfo *current = answer;
93 freeaddrinfo(answer);
94 answer = NULL;
  /dalvik/dx/tests/034-dex-minimal/
info.txt 5 is exactly correct. (There is arguably only one "right" answer.)
  /external/easymock/src/org/easymock/internal/
ReplayState.java 59 return result.answer();
103 public void andAnswer(IAnswer<?> answer) {
107 public void andDelegateTo(Object answer) {
119 public void andStubAnswer(IAnswer<?> answer) {
  /external/mockito/src/test/java/org/mockitousage/junitrunner/
DeepStubbingWithJUnitRunnerTest.java 14 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Root root;
  /external/proguard/examples/annotations/examples/
Application.java 19 System.out.println("The answer is 42");
  /external/valgrind/VEX/useful/
fspill.c 17 printf("answer is %f %d\n", r, (int)r );
  /external/webrtc/talk/session/media/
rtcpmuxfilter.cc 71 LOG(LS_ERROR) << "Invalid state for RTCP mux provisional answer";
82 // The provisional answer doesn't want to use RTCP mux.
84 // provisional or final answer.
91 // If the offer didn't specify RTCP mux, the answer shouldn't either.
92 LOG(LS_WARNING) << "Invalid parameters in RTCP mux provisional answer";
106 LOG(LS_ERROR) << "Invalid state for RTCP mux answer";
113 // If the offer didn't specify RTCP mux, the answer shouldn't either.
114 LOG(LS_WARNING) << "Invalid parameters in RTCP mux answer";
136 // mux, we may receive muxed RTCP before we receive the answer, so
  /packages/apps/Dialer/java/com/android/incallui/commontheme/res/values/
styles.xml 54 <style name="Answer.Button" parent="android:Widget.Material.Button">
58 <style name="Answer.Button.Answer">
62 <style name="Answer.Button.Decline">
  /prebuilts/go/darwin-x86/test/
func7.go 28 panic("wrong answer")
  /prebuilts/go/linux-x86/test/
func7.go 28 panic("wrong answer")
  /prebuilts/tools/common/proguard/proguard4.7/examples/annotations/examples/
Application.java 18 System.out.println("The answer is 42");
  /prebuilts/go/darwin-x86/src/net/
dnsmsg_test.go 92 answer: []dnsRR{},
121 if g, e := len(msg.answer), 5; g != e {
122 t.Errorf("len(msg.answer) = %d; want %d", g, e)
124 for idx, rr := range msg.answer {
129 t.Errorf("answer[%d] = %T; want *dnsRR_SRV", idx, rr)
137 _, addrs, err := answer(name, "foo:53", msg, uint16(dnsTypeSRV))
169 if g, e := len(msg.answer), 5; g != e {
170 t.Errorf("len(msg.answer) = %d; want %d", g, e)
172 for idx, rr := range msg.answer {
178 t.Errorf("answer[%d] = %T; want *dnsRR_Header", idx, rr
    [all...]
  /prebuilts/go/linux-x86/src/net/
dnsmsg_test.go 92 answer: []dnsRR{},
121 if g, e := len(msg.answer), 5; g != e {
122 t.Errorf("len(msg.answer) = %d; want %d", g, e)
124 for idx, rr := range msg.answer {
129 t.Errorf("answer[%d] = %T; want *dnsRR_SRV", idx, rr)
137 _, addrs, err := answer(name, "foo:53", msg, uint16(dnsTypeSRV))
169 if g, e := len(msg.answer), 5; g != e {
170 t.Errorf("len(msg.answer) = %d; want %d", g, e)
172 for idx, rr := range msg.answer {
178 t.Errorf("answer[%d] = %T; want *dnsRR_Header", idx, rr
    [all...]

Completed in 570 milliseconds

1 2 3 4 56 7 8 91011>>