OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:spy
(Results
1 - 7
of
7
) sorted by null
/external/guava/guava-tests/test/com/google/common/io/
AppendableWriterTest.java
88
SpyAppendable
spy
= new SpyAppendable();
local
89
Writer writer = new AppendableWriter(
spy
);
92
assertFalse(
spy
.flushed);
93
assertFalse(
spy
.closed);
96
assertTrue(
spy
.flushed);
97
assertFalse(
spy
.closed);
100
assertTrue(
spy
.flushed);
101
assertTrue(
spy
.closed);
/external/mockito/src/org/mockito/
Mockito.java
51
* <a href="#21">21. New annotations: <code>@Captor</code>, <code>@
Spy
</code>, <code>@InjectMocks</code> (Since 1.8.3) </a><br/>
464
* <li>stub methods on
spy
objects (see below)</li>
486
* <h3 id="13">13. <a class="meaningful_link" href="#
spy
">Spying on real objects</a></h3>
488
* You can create spies of real objects. When you use the
spy
then the <b>real</b> methods are called
505
* List
spy
=
spy
(list);
508
* when(
spy
.size()).thenReturn(100);
510
* //using the
spy
calls <b>*real*</b> methods
511
*
spy
.add("one");
512
*
spy
.add("two");
1321
public static <T> T
spy
(T object) {
method in class:Mockito
[
all
...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
JdkFutureAdaptersTest.java
57
ExecutorSpy
spy
= new ExecutorSpy(sameThreadExecutor());
local
59
listenInPoolThread(abstractFuture,
spy
);
64
assertFalse(
spy
.wasExecuted);
73
// '
spy
' should have been ignored since 'abstractFuture' was done before
75
assertFalse(
spy
.wasExecuted);
85
ExecutorSpy
spy
= new ExecutorSpy(executorService);
local
87
listenInPoolThread(abstractFuture,
spy
);
92
assertFalse(
spy
.wasExecuted);
101
assertTrue(
spy
.wasExecuted);
/external/chromium_org/third_party/sqlite/src/tool/
lemon.c
1080
struct symbol *spx, *
spy
;
local
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
jdimodel.jar
/external/chromium_org/v8/test/cctest/
test-api.cc
8743
Local<Value>
spy
= env1->Global()->Get(v8_str("
spy
"));
local
[
all
...]
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 850 milliseconds