Class MapPutIfAbsentTester<K,​V>

  • All Implemented Interfaces:
    junit.framework.Test

    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.
    • Constructor Detail

      • MapPutIfAbsentTester

        public MapPutIfAbsentTester()
    • Method Detail

      • 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_nullValueUnsupported

        public void testPutIfAbsent_nullValueUnsupported()
      • testPutIfAbsent_putWithNullValueUnsupported

        public void testPutIfAbsent_putWithNullValueUnsupported()