public class MapComputeIfPresentTester<K,V> extends AbstractMapTester<K,V>
Map.computeIfPresent(K, java.util.function.BiFunction<? super K, ? super V, ? extends V>). Can't be invoked directly; please
see MapTestSuiteBuilder.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
MapComputeIfPresentTester.ExpectedException |
AbstractContainerTester.ArrayWithDuplicate<E>container, samples| Constructor and Description |
|---|
MapComputeIfPresentTester() |
| Modifier and Type | Method and Description |
|---|---|
void |
testComputeIfPresent_functionReturnsNull() |
void |
testComputeIfPresent_functionThrows() |
void |
testComputeIfPresent_nullKeySupportedAbsent() |
void |
testComputeIfPresent_nullKeySupportedPresent() |
void |
testComputeIfPresent_nullTreatedAsAbsent() |
void |
testComputeIfPresent_supportedAbsent() |
void |
testComputeIfPresent_supportedPresent() |
void |
testComputeIfPresent_unsupportedAbsent() |
void |
testComputeIfPresent_unsupportedPresent() |
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 void testComputeIfPresent_supportedAbsent()
public void testComputeIfPresent_supportedPresent()
public void testComputeIfPresent_functionReturnsNull()
public void testComputeIfPresent_nullTreatedAsAbsent()
public void testComputeIfPresent_functionThrows()
public void testComputeIfPresent_nullKeySupportedPresent()
public void testComputeIfPresent_nullKeySupportedAbsent()
public void testComputeIfPresent_unsupportedAbsent()
public void testComputeIfPresent_unsupportedPresent()