Class MapPutIfAbsentTester<K,V>

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

@GwtCompatible public class MapPutIfAbsentTester<K,V> extends AbstractMapTester<K,V>
A generic JUnit test which tests Map.putIfAbsent(K, V). Can't be invoked directly; please see MapTestSuiteBuilder.
Author:
Louis Wasserman
  • Constructor Details

    • MapPutIfAbsentTester

      public MapPutIfAbsentTester()
  • Method Details

    • testPutIfAbsent_supportedAbsent

      public void testPutIfAbsent_supportedAbsent()
    • testPutIfAbsent_supportedPresent

      public void testPutIfAbsent_supportedPresent()
    • testPutIfAbsent_unsupportedAbsent

      public void testPutIfAbsent_unsupportedAbsent()
    • testPutIfAbsent_unsupportedPresentExistingValue

      public void testPutIfAbsent_unsupportedPresentExistingValue()
    • testPutIfAbsent_unsupportedPresentDifferentValue

      public void testPutIfAbsent_unsupportedPresentDifferentValue()
    • testPutIfAbsent_nullKeyUnsupported

      public void testPutIfAbsent_nullKeyUnsupported()
    • testPutIfAbsent_nullValueUnsupportedAndKeyAbsent

      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent()
    • testPutIfAbsent_nullValueUnsupportedAndKeyPresent

      public void testPutIfAbsent_nullValueUnsupportedAndKeyPresent()
    • testPut_nullValueSupported

      public void testPut_nullValueSupported()