Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

          List<Object> buf = newArrayList();
          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()) {
          testDrainTimesOut(q);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top