Class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object>

java.lang.Object
junit.framework.Assert
All Implemented Interfaces:
junit.framework.Test

@GwtCompatible(emulated=true) @NullMarked public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K,V>
A generic JUnit test which tests putAll operations on a map. Can't be invoked directly; please see MapTestSuiteBuilder.
Author:
Chris Povirk, Kevin Bourrillion
  • Constructor Details

    • MapPutAllTester

      public MapPutAllTester()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class AbstractContainerTester<Map<K extends @Nullable Object, V extends @Nullable Object>, Map.Entry<K extends @Nullable Object, V extends @Nullable Object>>
      Throws:
      Exception
    • testPutAll_supportedNothing

      public void testPutAll_supportedNothing()
    • testPutAll_unsupportedNothing

      public void testPutAll_unsupportedNothing()
    • testPutAll_supportedNonePresent

      public void testPutAll_supportedNonePresent()
    • testPutAll_unsupportedNonePresent

      public void testPutAll_unsupportedNonePresent()
    • testPutAll_supportedSomePresent

      public void testPutAll_supportedSomePresent()
    • testPutAllSomePresentConcurrentWithEntrySetIteration

      public void testPutAllSomePresentConcurrentWithEntrySetIteration()
    • testPutAll_unsupportedSomePresent

      public void testPutAll_unsupportedSomePresent()
    • testPutAll_unsupportedAllPresent

      public void testPutAll_unsupportedAllPresent()
    • testPutAll_nullKeySupported

      public void testPutAll_nullKeySupported()
    • testPutAll_nullKeyUnsupported

      public void testPutAll_nullKeyUnsupported()
    • testPutAll_nullValueSupported

      public void testPutAll_nullValueSupported()
    • testPutAll_nullValueUnsupported

      public void testPutAll_nullValueUnsupported()
    • testPutAll_nullCollectionReference

      public void testPutAll_nullCollectionReference()
    • getPutAllNullKeyUnsupportedMethod

      @GwtIncompatible public static Method getPutAllNullKeyUnsupportedMethod()
      Returns the Method instance for testPutAll_nullKeyUnsupported() so that tests can suppress it with FeatureSpecificTestSuiteBuilder.suppressing() until JDK-5045147 is fixed.