Class CollectionCreationTester<E>

  • All Implemented Interfaces:
    junit.framework.Test

    public class CollectionCreationTester<E>
    extends AbstractCollectionTester<E>
    A generic JUnit test which tests creation (typically through a constructor or static factory method) of a collection. Can't be invoked directly; please see CollectionTestSuiteBuilder.
    • Constructor Detail

      • CollectionCreationTester

        public CollectionCreationTester()
    • Method Detail

      • testCreateWithNull_supported

        public void testCreateWithNull_supported()
      • testCreateWithNull_unsupported

        public void testCreateWithNull_unsupported()
      • getCreateWithNullUnsupportedMethod

        public static java.lang.reflect.Method getCreateWithNullUnsupportedMethod()
        Returns the Method instance for testCreateWithNull_unsupported() so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() until Sun bug 5045147 is fixed.