summaryrefslogtreecommitdiffstats
path: root/jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-15 19:29:37 +0100
committerCalin Juravle <calin@google.com>2014-05-16 10:47:03 +0100
commit008167dfe7530e6a80066006633f2301d3eae012 (patch)
treecce2b94d7900b0c5f8a91832363109aaf9d06315 /jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java
parent6b3592a745f9ab6339421d0eaa2f665ce207376d (diff)
downloadlibcore-008167dfe7530e6a80066006633f2301d3eae012.zip
libcore-008167dfe7530e6a80066006633f2301d3eae012.tar.gz
libcore-008167dfe7530e6a80066006633f2301d3eae012.tar.bz2
Fix jsr166 tests
Tests specified as static inner classes were failing because the CTS runner does not support them. The temporary fix is to promote all static inner test classes to top level classes. This should be reverted once the CTS runner is fixed. Bug: 13877168 Change-Id: Icb64d7d7fcf6202d54d6fe31d9e1c9a6a43a233b
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java')
-rw-r--r--jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java b/jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java
index 711b47b..bd030cf 100644
--- a/jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java
+++ b/jsr166-tests/src/test/java/jsr166/SynchronousQueueTest.java
@@ -24,18 +24,6 @@ import static java.util.concurrent.TimeUnit.MILLISECONDS;
public class SynchronousQueueTest extends JSR166TestCase {
- public static class Fair extends BlockingQueueTest {
- protected BlockingQueue emptyCollection() {
- return new SynchronousQueue(true);
- }
- }
-
- public static class NonFair extends BlockingQueueTest {
- protected BlockingQueue emptyCollection() {
- return new SynchronousQueue(false);
- }
- }
-
/**
* Any SynchronousQueue is both empty and full
*/