HomeSort by relevance Sort by last modified time
    Searched refs:spy (Results 1 - 13 of 13) 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/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);
FuturesTest.java 361 ExecutorSpy spy = new ExecutorSpy(MoreExecutors.sameThreadExecutor());
363 assertFalse(spy.wasExecuted);
367 Functions.identity(), spy);
370 assertTrue(spy.wasExecuted);
374 FunctionSpy<Object, String> spy =
377 Future<String> transformed = Futures.lazyTransform(input, spy);
378 assertEquals(0, spy.getApplyCount());
380 assertEquals(1, spy.getApplyCount());
382 assertEquals(2, spy.getApplyCount());
    [all...]
  /external/webkit/Source/WebKit/qt/tests/qwebframe/
tst_qwebframe.cpp     [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/aalib/
SDL_aavideo.c 206 int ddy1, ddy, spy = 0, ey; local
218 spy = (ddy / ddy1) * x1, ddy %= ddy1;
232 bb1 += spy;
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
jdimodel.jar 
  /external/mockito/src/org/mockito/
Mockito.java 51 * <a href="#21">21. New annotations: <code>&#064;Captor</code>, <code>&#064;Spy</code>, <code>&#064;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/webkit/Source/WebKit/qt/tests/qdeclarativewebview/
tst_qdeclarativewebview.cpp 448 QSignalSpy spy(wv, SIGNAL(htmlChanged()));
450 QCOMPARE(spy.count(), 1);
  /external/webkit/Source/WebKit/qt/tests/qwebpage/
tst_qwebpage.cpp 572 QSignalSpy spy(m_page, SIGNAL(databaseQuotaExceeded(QWebFrame*,QString)));
574 QTRY_COMPARE(spy.count(), 1);
576 QTRY_COMPARE(spy.count(),1);
    [all...]
  /external/v8/test/cctest/
test-api.cc 6305 Local<Value> spy = env1->Global()->Get(v8_str("spy")); local
    [all...]
  /external/chromium/net/base/
effective_tld_names.cc     [all...]
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 221 milliseconds