Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSameThreadScheduledExecutor (0.14 sec)

  1. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        Future<Boolean> future = futureList.get(0);
        assertFalse(taskDone);
        assertTrue(future.isDone());
        assertThrows(CancellationException.class, () -> future.get());
      }
    
      public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException {
        taskDone = false;
        Callable<Integer> task =
            new Callable<Integer>() {
              @Override
              public Integer call() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top