aboutsummaryrefslogtreecommitdiffstats
path: root/guava-tests/test/com/google/common/collect/QueuesTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava-tests/test/com/google/common/collect/QueuesTest.java')
-rw-r--r--guava-tests/test/com/google/common/collect/QueuesTest.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/guava-tests/test/com/google/common/collect/QueuesTest.java b/guava-tests/test/com/google/common/collect/QueuesTest.java
index d64caae..bffcb39 100644
--- a/guava-tests/test/com/google/common/collect/QueuesTest.java
+++ b/guava-tests/test/com/google/common/collect/QueuesTest.java
@@ -208,17 +208,6 @@ public class QueuesTest extends TestCase {
assertEquals(100, buf.size());
}
- public void testNewLinkedBlockingDequeCapacity() {
- try {
- Queues.newLinkedBlockingDeque(0);
- fail("Should have thrown IllegalArgumentException");
- } catch (IllegalArgumentException expected) {
- // any capacity less than 1 should throw IllegalArgumentException
- }
- assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity());
- assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity());
- }
-
public void testNewLinkedBlockingQueueCapacity() {
try {
Queues.newLinkedBlockingQueue(0);