Searched refs:createMapMaker (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 68 private static MapMaker createMapMaker() { in createMapMaker() method in MapMakerInternalMapTest 77 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker()); in testDefaults() 120 makeMap(createMapMaker().keyEquivalence(testEquivalence)); in testSetKeyEquivalence() 140 makeMap(createMapMaker().concurrencyLevel(concurrencyLevel)); in checkConcurrencyLevel() 181 createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); in checkInitialCapacity() 213 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() in checkMaximumSize() 225 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys() 231 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakValues()); in testSetWeakValues() 237 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().softValues()); in testSetSoftValues() 254 makeMap(createMapMaker().expireAfterWrite(duration, unit)); in testSetExpireAfterWrite() [all …]
|
D | ComputingConcurrentHashMapTest.java | 66 private MapMaker createMapMaker() { in createMapMaker() method in ComputingConcurrentHashMapTest 77 makeComputingMap(createMapMaker(), computingFunction); in testComputingFunction() 86 makeComputingMap(createMapMaker(), computingFunction); in testCompute() 98 ComputingMapAdapter<Object, Object> map = makeAdaptedMap(createMapMaker(), computingFunction); in testComputeNull() 152 makeComputingMap(createMapMaker(), computingFunction); in testComputeExistingEntry() 164 MapMaker maker = createMapMaker().concurrencyLevel(1); in testComputePartiallyCollectedKey() 193 MapMaker maker = createMapMaker().concurrencyLevel(1); in testComputePartiallyCollectedValue() 223 MapMaker maker = createMapMaker().expireAfterWrite(1, TimeUnit.NANOSECONDS); in testComputeExpiredEntry() 259 MapMaker maker = (MapMaker) createMapMaker().removalListener(listener); in testRemovalListener_replaced() 319 tester.testAllPublicInstanceMethods(makeComputingMap(createMapMaker(), computingFunction)); in testNullParameters()
|