Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestCallable (0.09 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            controller.delayMillisAfterProcessing = 0L;
            controller.delayMillisForWaitingNewUrl = 0L;
            controller.delayMillisAtNoUrlInQueue = 0L;
    
            final Callable<Integer> testCallable = new Callable<Integer>() {
                public Integer call() throws Exception {
                    CrawlingParameterUtil.setUrlQueue(q);
                    controller.delayBeforeProcessing();
                    return 0;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top