/external/valgrind/memcheck/tests/ |
suppvarinfo5.stderr.exp | 0 answer is 0
|
varinfo4.stdout.exp | 0 answer is 0
|
xml1.stdout.exp | 1 hello from frame3(). The answer is not 42.
|
/external/valgrind/none/tests/ |
floored.stdout.exp | 1 the answer is 3
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
AnswerFunctionalInterfaces.java | 8 import org.mockito.stubbing.Answer; 33 * Construct an answer from a two parameter answer interface 34 * @param answer answer interface 37 * @return a new answer object 39 public static <T, A> Answer<T> toAnswer(final Answer1<T, A> answer) { 40 return new Answer<T>() { 42 public T answer(InvocationOnMock invocation) throws Throwable [all...] |
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsSmartNullsTest.java | 11 import org.mockito.stubbing.Answer; 21 Answer<Object> answer = new ReturnsSmartNulls(); local 22 assertEquals(false , answer.answer(invocationOf(HasPrimitiveMethods.class, "booleanMethod"))); 23 assertEquals((char) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "charMethod"))); 24 assertEquals((byte) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "byteMethod"))); 25 assertEquals((short) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "shortMethod"))) 40 Answer<Object> answer = new ReturnsSmartNulls(); local 52 Answer<Object> answer = new ReturnsSmartNulls(); local 63 Answer<Object> answer = new ReturnsSmartNulls(); local 75 Answer<Object> answer = new ReturnsSmartNulls(); local [all...] |
ReturnsMocksTest.java | 47 ReturnsMocks answer = new ReturnsMocks(); local 48 assertEquals(false, answer.answer(invocationOf(HasPrimitiveMethods.class, "booleanMethod"))); 49 assertEquals((char) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "charMethod"))); 50 assertEquals((byte) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "byteMethod"))); 51 assertEquals((short) 0, answer.answer(invocationOf(HasPrimitiveMethods.class, "shortMethod"))); 52 assertEquals(0, answer.answer(invocationOf(HasPrimitiveMethods.class, "intMethod"))) [all...] |
/external/pdfium/testing/resources/javascript/ |
bug_361_expected.txt | 1 Alert: Answer for "" is: string 2 Alert: Answer for "goats" is: string goats 3 Alert: Answer for "b4" is: string b4 4 Alert: Answer for "b4.5" is: string b4.5 5 Alert: Answer for "4x" is: string 4x 6 Alert: Answer for "4.5x" is: string 4.5x 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 " is: number [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
AndroidManifest.xml | 2 package="com.android.incallui.answer.impl">
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
AndroidManifest.xml | 2 package="com.android.incallui.answer.impl.affordance">
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
AndroidManifest.xml | 2 package="com.android.incallui.answer.impl.answermethod">
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
ConsecutiveStubbing.java | 7 import org.mockito.stubbing.Answer; 17 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { 18 invocationContainerImpl.addConsecutiveAnswer(answer); 22 public OngoingStubbing<T> then(Answer<?> answer) { 23 return thenAnswer(answer);
|
StubbedInvocationMatcher.java | 11 import org.mockito.stubbing.Answer; 18 public class StubbedInvocationMatcher extends InvocationMatcher implements Answer, Serializable, Stubbing { 21 private final Queue<Answer> answers = new ConcurrentLinkedQueue<Answer>(); 24 public StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer) { 26 this.answers.add(answer); 29 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:StubbedInvocationMatcher 31 Answer a; 35 return a.answer(invocation) [all...] |
OngoingStubbingImpl.java | 8 import org.mockito.stubbing.Answer; 23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { 28 invocationContainerImpl.addAnswer(answer); 32 public OngoingStubbing<T> then(Answer<?> answer) { 33 return thenAnswer(answer);
|
InvocationContainerImpl.java | 18 import org.mockito.stubbing.Answer; 28 private final List<Answer<?>> answersForStubbing = new ArrayList<Answer<?>>(); 46 public void addAnswer(Answer answer) { 48 addAnswer(answer, false); 51 public void addConsecutiveAnswer(Answer answer) { 52 addAnswer(answer, true); 56 * Adds new stubbed answer and returns the invocation matcher the answer was added to [all...] |
/external/e2fsprogs/resize/ |
test_extent.in | 22 # 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: 5 [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
arm_exidx_test.s | 3 .section .text.answer,"ax",%progbits 5 .global answer 6 .type answer, %function 7 answer: label 13 .size answer, .-answer
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
ValidableAnswer.java | 12 * Allow to validate this answer is correct for the given invocation. 15 * When tests use a shared answer implementation, it may happen the answer cannot be used 16 * with some methods. Implementing this interface indicate to Mockito it needs to verify the answer is compatible 21 * In the following example the answer is shared and work as expected... 26 * static Answer doSomethingTricky() { 27 * return new Answer() { 28 * Object answer(InvocationOnMock invocation) { 37 * ...then later there's some refactoring or some new code that want to use the answer, 38 * however it is not compatible anymore. In this example the answer may throw an exception becaus [all...] |
VoidAnswer1.java | 10 * Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing. 12 * Answer specifies an action that is executed when you interact with the mock. 14 * Example of stubbing a mock with this custom answer: 17 * when(mock.someMethod(anyString())).thenAnswer(new Answer<String>() { 18 * void answer(String msg) { 28 * @see Answer 37 void answer(A0 argument0) throws Throwable; method in interface:VoidAnswer1
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
GloballyConfiguredAnswer.java | 12 import org.mockito.stubbing.Answer; 15 * Globally configured Answer. 19 public class GloballyConfiguredAnswer implements Answer<Object>, Serializable { 23 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:GloballyConfiguredAnswer 24 return new GlobalConfiguration().getDefaultAnswer().answer(invocation);
|
/external/mockftpserver/MockFtpServer/src/site/fml/ |
faq.fml | 12 <answer>
18 </answer>
26 <answer>
28 </answer>
43 <answer>
45 </answer>
|
/external/mockftpserver/branches/1.x_Branch/src/site/fml/ |
faq.fml | 12 <answer>
18 </answer>
26 <answer>
28 </answer>
43 <answer>
45 </answer>
|
/external/jline/src/src/site/fml/ |
faq.fml | 6 <answer> 13 </answer> 17 <answer> 22 </answer>
|
/external/snakeyaml/src/test/resources/pyyaml/ |
construct-bool.data | 2 answer: NO
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/res/values/ |
strings.xml | 3 <string name="call_incoming_swipe_to_answer">Swipe up to answer</string> 5 <string name="a11y_incoming_call_swipe_to_answer">Swipe up with two fingers to answer or down to reject the call</string> 11 <string name="a11y_call_incoming_answer_description">Answer</string> 12 <string name="call_incoming_answer">Answer</string>
|