Class MapComputeTester<K,V>

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

@GwtCompatible public class MapComputeTester<K,V> extends AbstractMapTester<K,V>
A generic JUnit test which tests Map.compute(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>). Can't be invoked directly; please see MapTestSuiteBuilder.
Author:
Louis Wasserman
  • Constructor Details

    • MapComputeTester

      public MapComputeTester()
  • Method Details

    • testCompute_absentToPresent

      public void testCompute_absentToPresent()
    • testCompute_absentToAbsent

      public void testCompute_absentToAbsent()
    • testCompute_presentToPresent

      public void testCompute_presentToPresent()
    • testCompute_presentToAbsent

      public void testCompute_presentToAbsent()
    • testCompute_presentNullToPresentNonnull

      public void testCompute_presentNullToPresentNonnull()
    • testCompute_presentNullToNull

      public void testCompute_presentNullToNull()
    • testCompute_nullKeyPresentToPresent

      public void testCompute_nullKeyPresentToPresent()
    • testCompute_presentFunctionThrows

      public void testCompute_presentFunctionThrows()
    • testCompute_absentFunctionThrows

      public void testCompute_absentFunctionThrows()