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
|
* Extension of {@link AbstractTestObject} for exercising the
|
||||||
* {@link BlockingBuffer} implementation.
|
* {@link BlockingBuffer} implementation.
|
||||||
*
|
*
|
||||||
* @author Janek Bogucki
|
* @since 3.0
|
||||||
* @author Phil Steitz
|
* @version $Id$
|
||||||
* @version $Revision$
|
|
||||||
* @since Commons Collections 3.0
|
|
||||||
*/
|
*/
|
||||||
public class TestBlockingBuffer<E> extends AbstractTestObject {
|
public class BlockingBufferTest<E> extends AbstractTestObject {
|
||||||
|
|
||||||
public TestBlockingBuffer(String testName) {
|
public BlockingBufferTest(String testName) {
|
||||||
super(testName);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,9 +25,9 @@ import java.util.Iterator;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Arrays;
|
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);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,18 +28,16 @@ import org.apache.commons.collections.BulkTest;
|
||||||
* Runs tests against a full BoundedFifoBuffer, since many of the algorithms
|
* Runs tests against a full BoundedFifoBuffer, since many of the algorithms
|
||||||
* differ depending on whether the fifo is full or not.
|
* differ depending on whether the fifo is full or not.
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Unknown
|
|
||||||
*/
|
*/
|
||||||
public class TestBoundedFifoBuffer2<E> extends TestBoundedFifoBuffer<E> {
|
public class BoundedFifoBuffer2Test<E> extends BoundedFifoBufferTest<E> {
|
||||||
|
|
||||||
public TestBoundedFifoBuffer2(String n) {
|
public BoundedFifoBuffer2Test(String n) {
|
||||||
super(n);
|
super(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
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.
|
* Test cases for BoundedFifoBuffer.
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Paul Jack
|
|
||||||
*/
|
*/
|
||||||
public class TestBoundedFifoBuffer<E> extends AbstractCollectionTest<E> {
|
public class BoundedFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
public TestBoundedFifoBuffer(String n) {
|
public BoundedFifoBufferTest(String n) {
|
||||||
super(n);
|
super(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
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.
|
* Test cases for CircularFifoBuffer.
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Stephen Colebourne
|
|
||||||
*/
|
*/
|
||||||
public class TestCircularFifoBuffer<E> extends AbstractCollectionTest<E> {
|
public class CircularFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
public TestCircularFifoBuffer(String n) {
|
public CircularFifoBufferTest(String n) {
|
||||||
super(n);
|
super(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
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
|
* Extension of {@link PredicatedCollectionTest} for exercising the
|
||||||
* {@link PredicatedBuffer} implementation.
|
* {@link PredicatedBuffer} implementation.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 3.0
|
* @since 3.0
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Phil Steitz
|
|
||||||
*/
|
*/
|
||||||
public class TestPredicatedBuffer<E> extends PredicatedCollectionTest<E> {
|
public class PredicatedBufferTest<E> extends PredicatedCollectionTest<E> {
|
||||||
|
|
||||||
public TestPredicatedBuffer(String testName) {
|
public PredicatedBufferTest(String testName) {
|
||||||
super(testName);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,15 +34,12 @@ import org.apache.commons.collections.comparators.ReverseComparator;
|
||||||
/**
|
/**
|
||||||
* Tests the PriorityBuffer.
|
* Tests the PriorityBuffer.
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Michael A. Smith
|
|
||||||
* @author Steve Phelps
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("boxing")
|
@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);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,15 +27,12 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
||||||
* Extension of {@link AbstractCollectionTest} for exercising the
|
* Extension of {@link AbstractCollectionTest} for exercising the
|
||||||
* {@link SynchronizedBuffer} implementation.
|
* {@link SynchronizedBuffer} implementation.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 3.1
|
* @since 3.1
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Phil Steitz
|
|
||||||
* @author Stephen Colebourne
|
|
||||||
*/
|
*/
|
||||||
public class TestSynchronizedBuffer<E> extends AbstractCollectionTest<E> {
|
public class SynchronizedBufferTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
public TestSynchronizedBuffer(String testName) {
|
public SynchronizedBufferTest(String testName) {
|
||||||
super(testName);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,14 +25,12 @@ import org.apache.commons.collections.collection.TransformedCollectionTest;
|
||||||
* Extension of {@link TestCase} for exercising the {@link TransformedBuffer}
|
* Extension of {@link TestCase} for exercising the {@link TransformedBuffer}
|
||||||
* implementation.
|
* implementation.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 3.0
|
* @since 3.0
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Stephen Colebourne
|
|
||||||
*/
|
*/
|
||||||
public class TestTransformedBuffer extends TestCase {
|
public class TransformedBufferTest extends TestCase {
|
||||||
|
|
||||||
public TestTransformedBuffer(String testName) {
|
public TransformedBufferTest(String testName) {
|
||||||
super(testName);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,18 +29,16 @@ import org.apache.commons.collections.collection.AbstractCollectionTest;
|
||||||
/**
|
/**
|
||||||
* Test cases for UnboundedFifoBuffer.
|
* Test cases for UnboundedFifoBuffer.
|
||||||
*
|
*
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Unknown
|
|
||||||
*/
|
*/
|
||||||
public class TestUnboundedFifoBuffer<E> extends AbstractCollectionTest<E> {
|
public class UnboundedFifoBufferTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
public TestUnboundedFifoBuffer(String n) {
|
public UnboundedFifoBufferTest(String n) {
|
||||||
super(n);
|
super(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
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
|
* Extension of {@link AbstractCollectionTest} for exercising the
|
||||||
* {@link UnmodifiableBuffer} implementation.
|
* {@link UnmodifiableBuffer} implementation.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 3.1
|
* @since 3.1
|
||||||
* @version $Revision$
|
* @version $Id$
|
||||||
*
|
|
||||||
* @author Phil Steitz
|
|
||||||
* @author Stephen Colebourne
|
|
||||||
*/
|
*/
|
||||||
public class TestUnmodifiableBuffer<E> extends AbstractCollectionTest<E> {
|
public class UnmodifiableBufferTest<E> extends AbstractCollectionTest<E> {
|
||||||
|
|
||||||
public TestUnmodifiableBuffer(String testName) {
|
public UnmodifiableBufferTest(String testName) {
|
||||||
super(testName);
|
super(testName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue