From dbf6b5ced094fd710202e496748ec26104ce348b Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sun, 26 Aug 2012 19:37:14 +0000 Subject: [PATCH] Cleanup of tests. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377494 13f79535-47bb-0310-9956-ffa450edef68 --- .../collections/collection/AbstractCollectionTest.java | 8 +------- .../collections/collection/CompositeCollectionTest.java | 7 ++----- .../collections/collection/IndexedCollectionTest.java | 7 +++++++ .../collections/collection/PredicatedCollectionTest.java | 6 ++---- .../collection/SynchronizedCollectionTest.java | 7 ++----- .../collections/collection/TransformedCollectionTest.java | 6 ++---- .../collection/UnmodifiableBoundedCollectionTest.java | 2 ++ .../collection/UnmodifiableCollectionTest.java | 7 ++----- 8 files changed, 20 insertions(+), 30 deletions(-) diff --git a/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java index bcc4a1be1..b99b9ec20 100644 --- a/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/AbstractCollectionTest.java @@ -117,13 +117,7 @@ import org.apache.commons.collections.AbstractObjectTest; * you may still use this base set of cases. Simply override the * test case (method) your {@link Collection} fails. * - * @version $Revision$ - * - * @author Rodney Waldhoff - * @author Paul Jack - * @author Michael A. Smith - * @author Neil O'Toole - * @author Stephen Colebourne + * @version $Id$ */ public abstract class AbstractCollectionTest extends AbstractObjectTest { diff --git a/src/test/java/org/apache/commons/collections/collection/CompositeCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/CompositeCollectionTest.java index f19322cc4..bc08f0a92 100644 --- a/src/test/java/org/apache/commons/collections/collection/CompositeCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/CompositeCollectionTest.java @@ -27,11 +27,8 @@ import java.util.List; * Extension of {@link AbstractCollectionTest} for exercising the * {@link CompositeCollection} implementation. * - * @since Commons Collections 3.0 - * @version $Revision$ - * - * @author Brian McCallister - * @author Phil Steitz + * @since 3.0 + * @version $Id$ */ public class CompositeCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java index b7d986da2..a3ca948dd 100644 --- a/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java @@ -28,6 +28,13 @@ import org.apache.commons.collections.Transformer; import org.apache.commons.collections.collection.IndexedCollection; import org.junit.Test; +/** + * Extension of {@link AbstractCollectionTest} for exercising the + * {@link IndexedCollection} implementation. + * + * @since 4.0 + * @version $Id$ + */ @SuppressWarnings("boxing") public class IndexedCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/PredicatedCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/PredicatedCollectionTest.java index 9214efe01..37fde747a 100644 --- a/src/test/java/org/apache/commons/collections/collection/PredicatedCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/PredicatedCollectionTest.java @@ -28,10 +28,8 @@ import org.apache.commons.collections.functors.TruePredicate; * Extension of {@link AbstractCollectionTest} for exercising the * {@link PredicatedCollection} implementation. * - * @since Commons Collections 3.0 - * @version $Revision$ - * - * @author Phil Steitz + * @since 3.0 + * @version $Id$ */ public class PredicatedCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/SynchronizedCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/SynchronizedCollectionTest.java index 5ad8327d3..eb835bf51 100644 --- a/src/test/java/org/apache/commons/collections/collection/SynchronizedCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/SynchronizedCollectionTest.java @@ -24,11 +24,8 @@ import java.util.Collection; * Extension of {@link AbstractCollectionTest} for exercising the * {@link SynchronizedCollection} implementation. * - * @since Commons Collections 3.1 - * @version $Revision$ - * - * @author Phil Steitz - * @author Stephen Colebourne + * @since 3.1 + * @version $Id$ */ public class SynchronizedCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/TransformedCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/TransformedCollectionTest.java index 9f1d039d5..a1b0d5591 100644 --- a/src/test/java/org/apache/commons/collections/collection/TransformedCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/TransformedCollectionTest.java @@ -28,10 +28,8 @@ import org.apache.commons.collections.TransformerUtils; * Extension of {@link AbstractCollectionTest} for exercising the {@link TransformedCollection} * implementation. * - * @since Commons Collections 3.0 - * @version $Revision$ - * - * @author Stephen Colebourne + * @since 3.0 + * @version $Id$ */ public class TransformedCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollectionTest.java index f9596b2ed..a37e9567c 100644 --- a/src/test/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollectionTest.java @@ -28,6 +28,8 @@ import org.apache.commons.collections.buffer.BoundedBuffer; /** * Extension of {@link AbstractCollectionTest} for exercising the * {@link UnmodifiableBoundedCollection} implementation. + * + * @version $Id$ */ public class UnmodifiableBoundedCollectionTest extends AbstractCollectionTest { diff --git a/src/test/java/org/apache/commons/collections/collection/UnmodifiableCollectionTest.java b/src/test/java/org/apache/commons/collections/collection/UnmodifiableCollectionTest.java index 54a992a4b..58cc242e1 100644 --- a/src/test/java/org/apache/commons/collections/collection/UnmodifiableCollectionTest.java +++ b/src/test/java/org/apache/commons/collections/collection/UnmodifiableCollectionTest.java @@ -25,11 +25,8 @@ import java.util.List; * Extension of {@link AbstractCollectionTest} for exercising the * {@link UnmodifiableCollection} implementation. * - * @since Commons Collections 3.0 - * @version $Revision$ - * - * @author Phil Steitz - * @author Stephen Colebourne + * @since 3.0 + * @version $Id$ */ public class UnmodifiableCollectionTest extends AbstractCollectionTest {