diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-03-15 16:35:29 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-03-15 18:10:43 +0000 |
commit | 9cb45b2153a3bf3950cd08f0084172ac794819ec (patch) | |
tree | cce52c080d10ac16482092fb9d35aac8888bf76e /jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java | |
parent | e8b323c7cb7d55be9a4df579231e44f04f53d766 (diff) |
Fix for CollectionTest not running properly on vogar + missing tests
Made CollectionTest non-public, is shouldn't cause problems
with vogar anymore. Also, CTS currently doesn't find nested tests,
so I've moved some from the LinkedTransferQueueTest to
separate files.
Bug: 27673907
Change-Id: Iee6ecdee3128353f360ead7641cbafcb331f5644
(cherry picked from commit 7fe9db6dc16a8c5f58e1b4657967b71138e1f3ce)
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java')
-rw-r--r-- | jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java b/jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java new file mode 100644 index 0000000000..513afe3bff --- /dev/null +++ b/jsr166-tests/src/test/java/jsr166/LinkedTransferQueueCollectionTest.java @@ -0,0 +1,17 @@ +/* + * 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; + +// android-note: These tests have been moved into their own separate +// classes to work around CTS issues. +public class LinkedTransferQueueCollectionTest extends CollectionTest { + public LinkedTransferQueueCollectionTest() { + super(new LinkedTransferQueueTest.Implementation(), ""); + } +} |