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