Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java33 private static final String TEST_KEY = "test key"; field in MapMakerComparisonBenchmark
52 map.put(TEST_KEY, TEST_VALUE); in setUp()
53 cache.put(TEST_KEY, TEST_VALUE); in setUp()
54 cacheNoStats.put(TEST_KEY, TEST_VALUE); in setUp()
59 computingMap.get(TEST_KEY); in computingMapMaker()
65 loadingCache.getUnchecked(TEST_KEY); in loadingCacheBuilder_stats()
71 loadingCacheNoStats.getUnchecked(TEST_KEY); in loadingCacheBuilder()
77 map.get(TEST_KEY); in concurrentHashMap()
83 cache.getIfPresent(TEST_KEY); in cacheBuilder_stats()
89 cacheNoStats.getIfPresent(TEST_KEY); in cacheBuilder()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapConstraintsTest.java52 private static final String TEST_KEY = "test"; field in MapConstraintsTest
71 if (TEST_KEY.equals(key)) { in checkKeyValue()
103 map.put(TEST_KEY, TEST_VALUE); in testConstrainedMapLegal()
117 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedMapLegal()
128 constrained.put(TEST_KEY, TEST_VALUE); in testConstrainedMapIllegal()
136 constrained.put(TEST_KEY, 3); in testConstrainedMapIllegal()
140 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedMapIllegal()
153 map.put(TEST_KEY, TEST_VALUE); in testConstrainedBiMapLegal()
165 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedBiMapLegal()
178 constrained.put(TEST_KEY, TEST_VALUE); in testConstrainedBiMapIllegal()
[all …]
DConstrainedBiMapTest.java39 private static final String TEST_KEY = "42"; field in ConstrainedBiMapTest
48 map.put(TEST_KEY, TEST_VALUE); in testPutWithForbiddenKeyForbiddenValue()
60 map.put(TEST_KEY, "allowed"); in testPutWithForbiddenKeyAllowedValue()
96 if (TEST_KEY.equals(key)) { in checkKeyValue()
DConstrainedMapTest.java39 private static final String TEST_KEY = "42"; field in ConstrainedMapTest
48 map.put(TEST_KEY, TEST_VALUE); in testPutWithForbiddenKeyForbiddenValue()
60 map.put(TEST_KEY, "allowed"); in testPutWithForbiddenKeyAllowedValue()
95 if (TEST_KEY.equals(key)) { in checkKeyValue()
/external/guava/guava-tests/test/com/google/common/collect/
DMapConstraintsTest.java54 private static final String TEST_KEY = "test"; field in MapConstraintsTest
73 if (TEST_KEY.equals(key)) { in checkKeyValue()
105 map.put(TEST_KEY, TEST_VALUE); in testConstrainedMapLegal()
119 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedMapLegal()
130 constrained.put(TEST_KEY, TEST_VALUE); in testConstrainedMapIllegal()
138 constrained.put(TEST_KEY, 3); in testConstrainedMapIllegal()
142 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedMapIllegal()
155 map.put(TEST_KEY, TEST_VALUE); in testConstrainedBiMapLegal()
167 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedBiMapLegal()
180 constrained.put(TEST_KEY, TEST_VALUE); in testConstrainedBiMapIllegal()
[all …]
DConstrainedMapTest.java46 private static final String TEST_KEY = "42"; field in ConstrainedMapTest
73 map.put(TEST_KEY, TEST_VALUE); in testPutWithForbiddenKeyForbiddenValue()
85 map.put(TEST_KEY, "allowed"); in testPutWithForbiddenKeyAllowedValue()
120 if (TEST_KEY.equals(key)) { in checkKeyValue()
DConstrainedBiMapTest.java46 private static final String TEST_KEY = "42"; field in ConstrainedBiMapTest
74 map.put(TEST_KEY, TEST_VALUE); in testPutWithForbiddenKeyForbiddenValue()
86 map.put(TEST_KEY, "allowed"); in testPutWithForbiddenKeyAllowedValue()
122 if (TEST_KEY.equals(key)) { in checkKeyValue()