Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for ExecutorSpy (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      public void testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() throws Exception {
        NonListenableSettableFuture<String> abstractFuture = NonListenableSettableFuture.create();
        abstractFuture.set(DATA1);
        ExecutorSpy spy = new ExecutorSpy(directExecutor());
        ListenableFuture<String> listenableFuture = listenInPoolThread(abstractFuture, spy);
    
        SingleCallListener singleCallListener = new SingleCallListener();
        singleCallListener.expectCall();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              fail();
            }
            throw new SomeError();
          }
        };
      }
    
      // TODO(cpovirk): top-level class?
      static class ExecutorSpy implements Executor {
    
        Executor delegate;
        boolean wasExecuted;
    
        public ExecutorSpy(Executor delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void execute(Runnable command) {
          delegate.execute(command);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              fail();
            }
            throw new SomeError();
          }
        };
      }
    
      // TODO(cpovirk): top-level class?
      static class ExecutorSpy implements Executor {
    
        Executor delegate;
        boolean wasExecuted;
    
        public ExecutorSpy(Executor delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void execute(Runnable command) {
          delegate.execute(command);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top