HomeSort by relevance Sort by last modified time
    Searched refs:addAnswer (Results 1 - 25 of 26) sorted by null

1 2

  /external/mockito/src/test/java/org/mockito/internal/stubbing/
InvocationContainerImplStubbingTest.java 49 invocationContainerImpl.addAnswer(new ThrowsException(new Exception()));
59 invocationContainerImpl.addAnswer(new Returns("test"));
66 invocationContainerImpl.addAnswer(new Returns("simpleMethod"));
70 invocationContainerImpl.addAnswer(new ThrowsException(new MyException()));
83 invocationContainerImplStubOnly.addAnswer(new Returns("simpleMethod"));
87 invocationContainerImplStubOnly.addAnswer(new ThrowsException(new MyException()));
100 invocationContainerImpl.addAnswer(new ThrowsException(null));
InvocationContainerImplTest.java 57 c.addAnswer(new Returns("foo"));
101 container.addAnswer(new ReturnsEmptyValues());
110 containerStubOnly.addAnswer(new ReturnsEmptyValues());
  /external/jmdns/src/javax/jmdns/impl/tasks/
DNSTask.java 110 public DNSOutgoing addAnswer(DNSOutgoing out, DNSIncoming in, DNSRecord rec) throws IOException {
113 newOut.addAnswer(in, rec);
125 newOut.addAnswer(in, rec);
141 public DNSOutgoing addAnswer(DNSOutgoing out, DNSRecord rec, long now) throws IOException {
144 newOut.addAnswer(rec, now);
156 newOut.addAnswer(rec, now);
Responder.java 144 out = this.addAnswer(out, _in, answer);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/
InvocationContainerImpl.java 49 public void addAnswer(Answer answer) {
51 addAnswer(answer, false);
55 addAnswer(answer, true);
61 public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive) {
70 stubbed.getFirst().addAnswer(answer);
112 addAnswer(answersForStubbing.get(i), i != 0);
OngoingStubbingImpl.java 29 invocationContainer.addAnswer(answer);
StubbedInvocationMatcher.java 39 public void addAnswer(Answer answer) {
  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
ServiceInfoResolver.java 65 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_SRV, DNSRecordClass.CLASS_IN), now);
66 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_TXT, DNSRecordClass.CLASS_IN), now);
68 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_A, DNSRecordClass.CLASS_IN), now);
69 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_IN), now);
ServiceResolver.java 50 newOut = this.addAnswer(newOut, new DNSRecord.Pointer(info.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getQualifiedName()), now);
51 // newOut = this.addAnswer(newOut, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(),
TypeResolver.java 53 newOut = this.addAnswer(newOut, new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()), now);
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Canceler.java 105 newOut = this.addAnswer(newOut, null, answer);
118 newOut = this.addAnswer(newOut, null, answer);
Announcer.java 105 newOut = this.addAnswer(newOut, null, answer);
118 newOut = this.addAnswer(newOut, null, answer);
Renewer.java 106 newOut = this.addAnswer(newOut, null, answer);
119 newOut = this.addAnswer(newOut, null, answer);
  /external/jmdns/src/javax/jmdns/impl/
DNSRecord.java 89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException;
384 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
484 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
600 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
794 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
798 return dns.addAnswer(in, addr, port, out, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns
868 * @see javax.jmdns.impl.DNSRecord#addAnswer(javax.jmdns.impl.JmDNSImpl, javax.jmdns.impl.DNSIncoming, java.net.InetAddress, int, javax.jmdns.impl.DNSOutgoing)
871 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
    [all...]
DNSOutgoing.java 261 public void addAnswer(DNSIncoming in, DNSRecord rec) throws IOException {
263 this.addAnswer(rec, 0);
274 public void addAnswer(DNSRecord rec, long now) throws IOException {
JmDNSImpl.java     [all...]
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java 121 return container.addAnswer(answer, false);
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.29/
mockito-core-2.2.29.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.1/
mockito-core-2.7.1.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.6/
mockito-core-2.7.6.jar 
  /external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.10.19/
mockito-core-1.10.19.jar 

Completed in 408 milliseconds

1 2