Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertDrained (0.64 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          List<Object> buf = new ArrayList<>();
          int elements = drain(q, buf, 100, MAX_VALUE, NANOSECONDS, interruptibly);
          assertEquals(100, elements);
          assertEquals(100, buf.size());
          assertDrained(q);
        }
      }
    
      public void testDrainTimesOut() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          checkDrainTimesOut(q);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top