Class MapComputeTester<K,​V>

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

      • MapComputeTester

        public MapComputeTester()
    • Method Detail

      • 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()