1/* 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} 26