Class MapPutAllTester<K,V>

All Implemented Interfaces:
junit.framework.Test

public class MapPutAllTester<K,V> extends AbstractMapTester<K,V>
A generic JUnit test which tests putAll operations on a map. Can't be invoked directly; please see MapTestSuiteBuilder.
  • Field Details

  • Constructor Details

    • MapPutAllTester

      public MapPutAllTester()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class AbstractContainerTester<Map<K,V>,Map.Entry<K,V>>
      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()
    • emptyMap

      private Map<K,V> emptyMap()
    • putAll

      private void putAll(Iterable<Map.Entry<K,V>> entries)
    • getPutAllNullKeyUnsupportedMethod

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