blob: d6ed08188c7e7633c3628bf47e9c8a498b19c0ba [file] [log] [blame]
Calin Juravle008167d2014-05-15 19:29:37 +01001/*
2 * Written by Doug Lea with assistance from members of JCP JSR-166
3 * Expert Group and released to the public domain, as explained at
4 * http://creativecommons.org/publicdomain/zero/1.0/
5 * Other contributors include Andrew Wright, Jeffrey Hayes,
6 * Pat Fisher, Mike Judd.
7 */
8
9package jsr166;
10
11import java.util.concurrent.ArrayBlockingQueue;
12import java.util.concurrent.BlockingQueue;
13
14// In the upstream sources this class was nested inside ArrayBlockingQueueTests.
15// It was extracted to the top level because the CTS runner does not support
16// nested test classes. The same transformation was applied to all similar
17// classes from the jsr166 suite (see the parent CL for the complete list). This
18// should be reverted after CTS runner is fixed.
19public class ArrayBlockingQueueFairTest extends BlockingQueueTest {
20
21 protected BlockingQueue emptyCollection() {
22 return new ArrayBlockingQueue(SIZE, true);
23 }
24
25}