Class ConcurrentMapReplaceTester<K,V>

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

@GwtCompatible @NullMarked public class ConcurrentMapReplaceTester<K,V> extends AbstractMapTester<K,V>
A generic JUnit test which tests replace(K, V) operations on a concurrent map. Can't be invoked directly; please see ConcurrentMapTestSuiteBuilder.
Author:
Louis Wasserman
  • Constructor Details

    • ConcurrentMapReplaceTester

      public ConcurrentMapReplaceTester()
  • Method Details

    • getMap

      protected ConcurrentMap<K,V> getMap()
      Overrides:
      getMap in class AbstractMapTester<K,V>
    • testReplace_supportedPresent

      public void testReplace_supportedPresent()
    • testReplace_supportedPresentNoChange

      public void testReplace_supportedPresentNoChange()
    • testReplace_supportedAbsent

      public void testReplace_supportedAbsent()
    • testReplace_presentNullValueUnsupported

      public void testReplace_presentNullValueUnsupported()
    • testReplace_absentNullValueUnsupported

      public void testReplace_absentNullValueUnsupported()
    • testReplace_absentNullKeyUnsupported

      public void testReplace_absentNullKeyUnsupported()
    • testReplace_unsupportedPresent

      public void testReplace_unsupportedPresent()