Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NoOpValueAndCloserConsumer (0.27 sec)

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

                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
            new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor);
        assertThrows(
            IllegalStateException.class,
            () ->
                closingFuture.finishToValueAndCloser(
                    new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
            new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor);
        assertThrows(
            IllegalStateException.class,
            () ->
                closingFuture.finishToValueAndCloser(
                    new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), directExecutor());
        assertThrows(
            IllegalStateException.class,
            () -> {
              FluentFuture<Closeable> unused = closingFuture.finishToFuture();
            });
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), directExecutor());
        assertThrows(
            IllegalStateException.class,
            () -> {
              FluentFuture<Closeable> unused = closingFuture.finishToFuture();
            });
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        try {
          closingFuture.finishToFuture();
          fail();
        } catch (IllegalStateException expected) {
        }
        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        try {
          closingFuture.finishToFuture();
          fail();
        } catch (IllegalStateException expected) {
        }
        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top