Renamed unit tests for buffer package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcb64284ef
commit
da525f24ad
|
@ -30,14 +30,12 @@ import java.util.Set;
|
|||
* Extension of {@link AbstractTestObject} for exercising the
|
||||
* {@link BlockingBuffer} implementation.
|
||||
*
|
||||
* @author Janek Bogucki
|
||||
* @author Phil Steitz
|
||||
* @version $Revision$
|
||||
* @since Commons Collections 3.0
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestBlockingBuffer<E> extends AbstractTestObject {
|
||||
public class BlockingBufferTest<E> extends AbstractTestObject {
|
||||
|
||||
public TestBlockingBuffer(String testName) {
|
||||
public BlockingBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -25,9 +25,9 @@ import java.util.Iterator;
|
|||
import java.util.Collections;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class TestBoundedBuffer<E> extends AbstractTestObject {
|
||||
public class BoundedBufferTest<E> extends AbstractTestObject {
|
||||
|
||||
public TestBoundedBuffer(String testName) {
|
||||
public BoundedBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -28,18 +28,16 @@ import org.apache.commons.collections.BulkTest;
|
|||
* Runs tests against a full BoundedFifoBuffer, since many of the algorithms
|
||||
* differ depending on whether the fifo is full or not.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Unknown
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestBoundedFifoBuffer2<E> extends TestBoundedFifoBuffer<E> {
|
||||
public class BoundedFifoBuffer2Test<E> extends BoundedFifoBufferTest<E> {
|
||||
|
||||
public TestBoundedFifoBuffer2(String n) {
|
||||
public BoundedFifoBuffer2Test(String n) {
|
||||
super(n);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return BulkTest.makeSuite(TestBoundedFifoBuffer2.class);
|
||||
return BulkTest.makeSuite(BoundedFifoBuffer2Test.class);
|
||||
}
|
||||
|
||||
/**
|
|
@ -30,18 +30,16 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
|||
/**
|
||||
* Test cases for BoundedFifoBuffer.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Paul Jack
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestBoundedFifoBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class BoundedFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestBoundedFifoBuffer(String n) {
|
||||
public BoundedFifoBufferTest(String n) {
|
||||
super(n);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return BulkTest.makeSuite(TestBoundedFifoBuffer.class);
|
||||
return BulkTest.makeSuite(BoundedFifoBufferTest.class);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
|
@ -34,18 +34,16 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
|||
/**
|
||||
* Test cases for CircularFifoBuffer.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestCircularFifoBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class CircularFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestCircularFifoBuffer(String n) {
|
||||
public CircularFifoBufferTest(String n) {
|
||||
super(n);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return BulkTest.makeSuite(TestCircularFifoBuffer.class);
|
||||
return BulkTest.makeSuite(CircularFifoBufferTest.class);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
|
@ -28,14 +28,12 @@ import org.apache.commons.collections.collection.PredicatedCollectionTest;
|
|||
* Extension of {@link PredicatedCollectionTest} for exercising the
|
||||
* {@link PredicatedBuffer} implementation.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Phil Steitz
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestPredicatedBuffer<E> extends PredicatedCollectionTest<E> {
|
||||
public class PredicatedBufferTest<E> extends PredicatedCollectionTest<E> {
|
||||
|
||||
public TestPredicatedBuffer(String testName) {
|
||||
public PredicatedBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -34,15 +34,12 @@ import org.apache.commons.collections.comparators.ReverseComparator;
|
|||
/**
|
||||
* Tests the PriorityBuffer.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Michael A. Smith
|
||||
* @author Steve Phelps
|
||||
* @version $Id$
|
||||
*/
|
||||
@SuppressWarnings("boxing")
|
||||
public class TestPriorityBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class PriorityBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestPriorityBuffer(String testName) {
|
||||
public PriorityBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -27,15 +27,12 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
|||
* Extension of {@link AbstractCollectionTest} for exercising the
|
||||
* {@link SynchronizedBuffer} implementation.
|
||||
*
|
||||
* @since Commons Collections 3.1
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Phil Steitz
|
||||
* @author Stephen Colebourne
|
||||
* @since 3.1
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestSynchronizedBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class SynchronizedBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestSynchronizedBuffer(String testName) {
|
||||
public SynchronizedBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -25,14 +25,12 @@ import org.apache.commons.collections.collection.TransformedCollectionTest;
|
|||
* Extension of {@link TestCase} for exercising the {@link TransformedBuffer}
|
||||
* implementation.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestTransformedBuffer extends TestCase {
|
||||
public class TransformedBufferTest extends TestCase {
|
||||
|
||||
public TestTransformedBuffer(String testName) {
|
||||
public TransformedBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -29,18 +29,16 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
|||
/**
|
||||
* Test cases for UnboundedFifoBuffer.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Unknown
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestUnboundedFifoBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class UnboundedFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestUnboundedFifoBuffer(String n) {
|
||||
public UnboundedFifoBufferTest(String n) {
|
||||
super(n);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return BulkTest.makeSuite(TestUnboundedFifoBuffer.class);
|
||||
return BulkTest.makeSuite(UnboundedFifoBufferTest.class);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
|
@ -27,15 +27,12 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
|||
* Extension of {@link AbstractCollectionTest} for exercising the
|
||||
* {@link UnmodifiableBuffer} implementation.
|
||||
*
|
||||
* @since Commons Collections 3.1
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Phil Steitz
|
||||
* @author Stephen Colebourne
|
||||
* @since 3.1
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestUnmodifiableBuffer<E> extends AbstractCollectionTest<E> {
|
||||
public class UnmodifiableBufferTest<E> extends AbstractCollectionTest<E> {
|
||||
|
||||
public TestUnmodifiableBuffer(String testName) {
|
||||
public UnmodifiableBufferTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue