OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Answer
(Results
1 - 4
of
4
) sorted by null
/external/mockito/src/org/mockito/stubbing/
Answer.java
10
* Generic interface to be used for configuring mock's
answer
.
11
*
Answer
specifies an action that is executed and a return value that is returned when you interact with the mock.
13
* Example of stubbing a mock with custom
answer
:
16
* when(mock.someMethod(anyString())).thenAnswer(new
Answer
() {
17
* Object
answer
(InvocationOnMock invocation) {
30
public interface
Answer
<T> {
38
T
answer
(InvocationOnMock invocation) throws Throwable;
method in interface:Answer
/frameworks/base/tools/aidl/
options_test.cpp
8
struct
Answer
{
57
test(const
Answer
&
answer
)
60
while (
answer
.argv[argc]) {
67
int result = parse_options(argc,
answer
.argv, &options);
70
if (((bool)result) != ((bool)
answer
.result)) {
72
answer
.result << endl;
82
if (!match_arrays(
answer
.systemSearchPath, options.systemSearchPath)) {
86
print_array(" ",
answer
.systemSearchPath);
91
if (!match_arrays(
answer
.localSearchPath, options.localSearchPath))
[
all
...]
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/external/robolectric/lib/test/
mockito-core-1.8.5.jar
Completed in 249 milliseconds