Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NPETask (0.05 sec)

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

      public void testInvokeAnyImpl_noTaskCompletes() throws Exception {
        ListeningExecutorService e = newDirectExecutorService();
        List<Callable<String>> l = new ArrayList<>();
        l.add(new NPETask());
        try {
          invokeAnyImpl(e, l, false, 0, NANOSECONDS);
          fail();
        } catch (ExecutionException success) {
          assertThat(success).hasCauseThat().isInstanceOf(NullPointerException.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top