Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDelegateRejection (0.07 sec)

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

        e.execute(runMe);
        e.execute(runMe);
        fakePool.runAll();
    
        assertEquals(2, numCalls.get());
    
        assertTrue(Thread.interrupted());
      }
    
      public void testDelegateRejection() {
        AtomicInteger numCalls = new AtomicInteger();
        AtomicBoolean reject = new AtomicBoolean(true);
        SequentialExecutor executor =
            new SequentialExecutor(
                new Executor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top