Home
last modified time | relevance | path

Searched refs:MapFeature (Results 1 – 25 of 187) sorted by relevance

12345678

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java24 import com.google.common.collect.testing.features.MapFeature;
173 MapFeature.GENERAL_PURPOSE, in testsForCheckedMap()
174 MapFeature.ALLOWS_NULL_KEYS, in testsForCheckedMap()
175 MapFeature.ALLOWS_NULL_VALUES, in testsForCheckedMap()
176 MapFeature.ALLOWS_ANY_NULL_QUERIES, in testsForCheckedMap()
177 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, in testsForCheckedMap()
178 MapFeature.RESTRICTS_KEYS, in testsForCheckedMap()
179 MapFeature.RESTRICTS_VALUES, in testsForCheckedMap()
198 MapFeature.GENERAL_PURPOSE,
199 MapFeature.ALLOWS_NULL_VALUES,
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java24 import com.google.common.collect.testing.features.MapFeature;
147 MapFeature.GENERAL_PURPOSE, in testsForCheckedMap()
148 MapFeature.ALLOWS_NULL_KEYS, in testsForCheckedMap()
149 MapFeature.ALLOWS_NULL_VALUES, in testsForCheckedMap()
150 MapFeature.ALLOWS_ANY_NULL_QUERIES, in testsForCheckedMap()
151 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, in testsForCheckedMap()
152 MapFeature.RESTRICTS_KEYS, in testsForCheckedMap()
153 MapFeature.RESTRICTS_VALUES, in testsForCheckedMap()
172 MapFeature.GENERAL_PURPOSE,
173 MapFeature.ALLOWS_NULL_VALUES,
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
31 import com.google.common.collect.testing.features.MapFeature;
64 @MapFeature.Require(SUPPORTS_PUT)
71 @MapFeature.Require(SUPPORTS_PUT)
77 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
90 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
103 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
[all …]
DConcurrentMapReplaceEntryTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
48 @MapFeature.Require(SUPPORTS_PUT)
55 @MapFeature.Require(SUPPORTS_PUT)
62 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(SUPPORTS_PUT)
75 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
86 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMapRemoveTester.java21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
23 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
30 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_REMOVE)
57 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
70 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
83 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
96 @MapFeature.Require(SUPPORTS_REMOVE)
[all …]
DMapPutAllTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
33 import com.google.common.collect.testing.features.MapFeature;
68 @MapFeature.Require(SUPPORTS_PUT)
74 @MapFeature.Require(absent = SUPPORTS_PUT)
83 @MapFeature.Require(SUPPORTS_PUT)
89 @MapFeature.Require(absent = SUPPORTS_PUT)
100 @MapFeature.Require(SUPPORTS_PUT)
[all …]
DConcurrentMapRemoveTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
27 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_REMOVE)
54 @MapFeature.Require(SUPPORTS_REMOVE)
60 @MapFeature.Require(SUPPORTS_REMOVE)
66 @MapFeature.Require(SUPPORTS_REMOVE)
72 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
82 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DConcurrentMapReplaceTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
28 import com.google.common.collect.testing.features.MapFeature;
49 @MapFeature.Require(SUPPORTS_PUT)
56 @MapFeature.Require(SUPPORTS_PUT)
63 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
80 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
31 import com.google.common.collect.testing.features.MapFeature;
64 @MapFeature.Require(SUPPORTS_PUT)
71 @MapFeature.Require(SUPPORTS_PUT)
77 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
90 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
103 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
[all …]
DMapReplaceEntryTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
42 @MapFeature.Require(SUPPORTS_PUT)
53 @MapFeature.Require(SUPPORTS_PUT)
60 @MapFeature.Require(SUPPORTS_PUT)
67 @MapFeature.Require(SUPPORTS_PUT)
73 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
84 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DConcurrentMapReplaceEntryTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
48 @MapFeature.Require(SUPPORTS_PUT)
55 @MapFeature.Require(SUPPORTS_PUT)
62 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(SUPPORTS_PUT)
75 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
86 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMapRemoveTester.java21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
23 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
30 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_REMOVE)
57 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
70 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
83 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
96 @MapFeature.Require(SUPPORTS_REMOVE)
[all …]
DMapRemoveEntryTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
27 import com.google.common.collect.testing.features.MapFeature;
41 @MapFeature.Require(SUPPORTS_REMOVE)
48 @MapFeature.Require(SUPPORTS_REMOVE)
54 @MapFeature.Require(SUPPORTS_REMOVE)
60 @MapFeature.Require(SUPPORTS_REMOVE)
66 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
76 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMapPutAllTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
33 import com.google.common.collect.testing.features.MapFeature;
68 @MapFeature.Require(SUPPORTS_PUT)
74 @MapFeature.Require(absent = SUPPORTS_PUT)
83 @MapFeature.Require(SUPPORTS_PUT)
89 @MapFeature.Require(absent = SUPPORTS_PUT)
100 @MapFeature.Require(SUPPORTS_PUT)
[all …]
DMapPutIfAbsentTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
43 @MapFeature.Require(SUPPORTS_PUT)
50 @MapFeature.Require(SUPPORTS_PUT)
60 @MapFeature.Require(absent = SUPPORTS_PUT)
71 @MapFeature.Require(absent = SUPPORTS_PUT)
84 @MapFeature.Require(absent = SUPPORTS_PUT)
94 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
[all …]
DConcurrentMapRemoveTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
27 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_REMOVE)
54 @MapFeature.Require(SUPPORTS_REMOVE)
60 @MapFeature.Require(SUPPORTS_REMOVE)
66 @MapFeature.Require(SUPPORTS_REMOVE)
72 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
82 @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMapReplaceTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
28 import com.google.common.collect.testing.features.MapFeature;
43 @MapFeature.Require(SUPPORTS_PUT)
54 @MapFeature.Require(SUPPORTS_PUT)
61 @MapFeature.Require(SUPPORTS_PUT)
67 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
78 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMapComputeIfAbsentTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
43 @MapFeature.Require(SUPPORTS_PUT)
58 @MapFeature.Require(SUPPORTS_PUT)
73 @MapFeature.Require(SUPPORTS_PUT)
87 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
104 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
118 @MapFeature.Require(SUPPORTS_PUT)
[all …]
DConcurrentMapReplaceTester.java20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
28 import com.google.common.collect.testing.features.MapFeature;
49 @MapFeature.Require(SUPPORTS_PUT)
56 @MapFeature.Require(SUPPORTS_PUT)
63 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
80 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java38 import com.google.common.collect.testing.features.MapFeature;
78 CollectionSize.ANY, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE) in suite()
96 MapFeature.ALLOWS_NULL_VALUES, in suite()
97 MapFeature.ALLOWS_NULL_KEYS, in suite()
98 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
99 MapFeature.REJECTS_DUPLICATES_AT_CREATION, in suite()
158 MapFeature.SUPPORTS_REMOVE, in suite()
226 MapFeature.SUPPORTS_REMOVE) in suite()
292 MapFeature.SUPPORTS_REMOVE, in suite()
324 MapFeature.ALLOWS_NULL_KEYS, in filterMapSuite()
[all …]
DMultimapsCollectionTest.java45 import com.google.common.collect.testing.features.MapFeature;
240 MapFeature.ALLOWS_NULL_KEYS, in suite()
241 MapFeature.ALLOWS_NULL_VALUES, in suite()
242 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
243 MapFeature.GENERAL_PURPOSE, in suite()
244 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, in suite()
403 MapFeature.SUPPORTS_REMOVE, in transformSuite()
405 MapFeature.ALLOWS_NULL_KEYS, in transformSuite()
406 MapFeature.ALLOWS_ANY_NULL_QUERIES) in transformSuite()
419 MapFeature.SUPPORTS_REMOVE, in transformSuite()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java38 import com.google.common.collect.testing.features.MapFeature;
78 CollectionSize.ANY, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE) in suite()
96 MapFeature.ALLOWS_NULL_VALUES, in suite()
97 MapFeature.ALLOWS_NULL_KEYS, in suite()
98 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
99 MapFeature.REJECTS_DUPLICATES_AT_CREATION, in suite()
158 MapFeature.SUPPORTS_REMOVE, in suite()
226 MapFeature.SUPPORTS_REMOVE) in suite()
292 MapFeature.SUPPORTS_REMOVE, in suite()
324 MapFeature.ALLOWS_NULL_KEYS, in filterMapSuite()
[all …]
DMultimapsCollectionTest.java44 import com.google.common.collect.testing.features.MapFeature;
239 MapFeature.ALLOWS_NULL_KEYS, in suite()
240 MapFeature.ALLOWS_NULL_VALUES, in suite()
241 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
242 MapFeature.GENERAL_PURPOSE, in suite()
243 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, in suite()
401 MapFeature.SUPPORTS_REMOVE, in transformSuite()
403 MapFeature.ALLOWS_NULL_KEYS, in transformSuite()
404 MapFeature.ALLOWS_ANY_NULL_QUERIES) in transformSuite()
417 MapFeature.SUPPORTS_REMOVE, in transformSuite()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
31 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_PUT)
63 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(SUPPORTS_PUT)
84 @MapFeature.Require(SUPPORTS_PUT)
91 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
97 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
31 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(SUPPORTS_PUT)
63 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(SUPPORTS_PUT)
84 @MapFeature.Require(SUPPORTS_PUT)
91 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
97 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
[all …]

12345678