@GwtCompatible(emulated=true) public class MapMergeTester<K,V> extends AbstractMapTester<K,V>
Map.merge(K, V, java.util.function.BiFunction<? super V, ? super V, ? extends V>). Can't be invoked directly; please see MapTestSuiteBuilder.AbstractContainerTester.ArrayWithDuplicate<E>container, samples| Constructor and Description |
|---|
MapMergeTester() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
getMergeNullValueMethod()
Returns the
Method instance for testMergeNullValue() so that tests of Hashtable can suppress it with FeatureSpecificTestSuiteBuilder.suppressing(). |
void |
testAbsent() |
void |
testMappedToNull() |
void |
testMergeAbsentNullKey() |
void |
testMergeFunctionThrows() |
void |
testMergeNullFunction() |
void |
testMergeNullValue() |
void |
testMergePresent() |
void |
testMergePresentToNull() |
void |
testMergeUnsupported() |
actualContents, createArrayWithNullKey, createArrayWithNullValue, createDisjointCollection, entry, expectContents, expectMissing, expectMissingKeys, expectMissingValues, expectNullKeyMissingWhenNullKeysUnsupported, expectNullValueMissingWhenNullValuesUnsupported, expectReplacement, get, getKeyForNullValue, getMap, getNumEntries, getSampleEntries, getSampleEntries, getValueForNullKey, initMapWithNullKey, initMapWithNullValue, k0, k1, k2, k3, k4, resetMap, resetMap, v0, v1, v2, v3, v4createArrayWithDuplicateElement, createOrderedArray, createSamplesArray, e0, e1, e2, e3, e4, emptyCollection, expectAdded, expectAdded, expectAdded, expectContents, expectUnchanged, getNullLocation, getNumElements, getOrderedElements, getSampleElements, getSampleElements, resetContainer, resetContainer, setUpgetName, getSubjectGenerator, getTestMethodName, init, init, tearDownassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, run, run, runBare, runTest, setName, toStringpublic MapMergeTester()
public void testAbsent()
public void testMappedToNull()
public void testMergeAbsentNullKey()
public void testMergePresent()
public void testMergeFunctionThrows()
public void testMergePresentToNull()
public void testMergeNullValue()
public void testMergeNullFunction()
public void testMergeUnsupported()
@GwtIncompatible public static Method getMergeNullValueMethod()
Method instance for testMergeNullValue() so that tests of Hashtable can suppress it with FeatureSpecificTestSuiteBuilder.suppressing().Copyright © 2010–2019. All rights reserved.