Class MapCreationTester<K,​V>

  • All Implemented Interfaces:
    junit.framework.Test

    @GwtCompatible(emulated=true)
    public class MapCreationTester<K,​V>
    extends AbstractMapTester<K,​V>
    A generic JUnit test which tests creation (typically through a constructor or static factory method) of a map. Can't be invoked directly; please see MapTestSuiteBuilder.
    • Constructor Detail

      • MapCreationTester

        public MapCreationTester()
    • Method Detail

      • testCreateWithNullKeySupported

        public void testCreateWithNullKeySupported()
      • testCreateWithNullKeyUnsupported

        public void testCreateWithNullKeyUnsupported()
      • testCreateWithNullValueSupported

        public void testCreateWithNullValueSupported()
      • testCreateWithNullValueUnsupported

        public void testCreateWithNullValueUnsupported()
      • testCreateWithNullKeyAndValueSupported

        public void testCreateWithNullKeyAndValueSupported()
      • testCreateWithDuplicates_nullDuplicatesNotRejected

        public void testCreateWithDuplicates_nullDuplicatesNotRejected()
      • testCreateWithDuplicates_nonNullDuplicatesNotRejected

        public void testCreateWithDuplicates_nonNullDuplicatesNotRejected()
      • testCreateWithDuplicates_nullDuplicatesRejected

        public void testCreateWithDuplicates_nullDuplicatesRejected()
      • testCreateWithDuplicates_nonNullDuplicatesRejected

        public void testCreateWithDuplicates_nonNullDuplicatesRejected()