Home
last modified time | relevance | path

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

1234

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java21 import com.google.common.collect.testing.features.MapFeature;
124 MapFeature.ALLOWS_NULL_KEYS,
125 MapFeature.ALLOWS_NULL_VALUES,
126 MapFeature.ALLOWS_ANY_NULL_QUERIES,
143 MapFeature.GENERAL_PURPOSE,
144 MapFeature.ALLOWS_NULL_KEYS,
145 MapFeature.ALLOWS_NULL_VALUES,
146 MapFeature.ALLOWS_ANY_NULL_QUERIES,
147 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
165 MapFeature.GENERAL_PURPOSE,
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/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;
28 import com.google.common.collect.testing.features.MapFeature;
59 @MapFeature.Require(SUPPORTS_PUT)
65 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
78 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
91 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
104 @MapFeature.Require(absent = SUPPORTS_PUT)
[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;
30 import com.google.common.collect.testing.features.MapFeature;
60 @MapFeature.Require(SUPPORTS_PUT)
66 @MapFeature.Require(absent = SUPPORTS_PUT)
75 @MapFeature.Require(SUPPORTS_PUT)
81 @MapFeature.Require(absent = SUPPORTS_PUT)
92 @MapFeature.Require(SUPPORTS_PUT)
[all …]
DMapCreationTester.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.REJECTS_DUPLICATES_AT_CREATION;
28 import com.google.common.collect.testing.features.MapFeature;
44 @MapFeature.Require(ALLOWS_NULL_KEYS)
51 @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
61 @MapFeature.Require(ALLOWS_NULL_VALUES)
68 @MapFeature.Require(absent = ALLOWS_NULL_VALUES)
78 @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
87 @MapFeature.Require(value = ALLOWS_NULL_KEYS,
[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;
30 import com.google.common.collect.testing.features.MapFeature;
62 @MapFeature.Require(SUPPORTS_PUT)
68 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
81 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
94 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
107 @MapFeature.Require(absent = SUPPORTS_PUT)
[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;
32 import com.google.common.collect.testing.features.MapFeature;
63 @MapFeature.Require(SUPPORTS_PUT)
69 @MapFeature.Require(absent = SUPPORTS_PUT)
78 @MapFeature.Require(SUPPORTS_PUT)
84 @MapFeature.Require(absent = SUPPORTS_PUT)
95 @MapFeature.Require(SUPPORTS_PUT)
[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)
58 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
72 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
86 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
100 @MapFeature.Require(SUPPORTS_REMOVE)
[all …]
DMapCreationTester.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.REJECTS_DUPLICATES_AT_CREATION;
30 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require(ALLOWS_NULL_KEYS)
54 @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
64 @MapFeature.Require(ALLOWS_NULL_VALUES)
71 @MapFeature.Require(absent = ALLOWS_NULL_VALUES)
81 @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
90 @MapFeature.Require(value = ALLOWS_NULL_KEYS,
[all …]
DMapClearTester.java21 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFI…
22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
27 import com.google.common.collect.testing.features.MapFeature;
43 @MapFeature.Require(SUPPORTS_REMOVE)
50 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
64 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
78 @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION,
92 @MapFeature.Require(absent = SUPPORTS_REMOVE)
104 @MapFeature.Require(absent = SUPPORTS_REMOVE)
DMapGetTester.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_KEY_QUERIES;
27 import com.google.common.collect.testing.features.MapFeature;
49 @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
54 @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
62 @MapFeature.Require(ALLOWS_NULL_KEYS)
69 @MapFeature.Require(ALLOWS_NULL_KEYS)
/external/guava/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java37 import com.google.common.collect.testing.features.MapFeature;
79 MapFeature.ALLOWS_NULL_VALUES, in suite()
97 MapFeature.ALLOWS_NULL_VALUES, in suite()
98 MapFeature.ALLOWS_NULL_KEYS, in suite()
99 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
100 MapFeature.REJECTS_DUPLICATES_AT_CREATION, in suite()
155 MapFeature.SUPPORTS_REMOVE, in suite()
217 MapFeature.SUPPORTS_REMOVE) in suite()
277 MapFeature.SUPPORTS_REMOVE, in suite()
307 MapFeature.ALLOWS_NULL_KEYS, in filterMapSuite()
[all …]
DMultimapsCollectionTest.java44 import com.google.common.collect.testing.features.MapFeature;
255 MapFeature.ALLOWS_NULL_KEYS, in suite()
256 MapFeature.ALLOWS_NULL_VALUES, in suite()
257 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
258 MapFeature.GENERAL_PURPOSE, in suite()
259 MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, in suite()
409 MapFeature.SUPPORTS_REMOVE, in transformSuite()
411 MapFeature.ALLOWS_NULL_KEYS, in transformSuite()
412 MapFeature.ALLOWS_ANY_NULL_QUERIES) in transformSuite()
424 MapFeature.SUPPORTS_REMOVE, in transformSuite()
[all …]
DSynchronizedBiMapTest.java25 import com.google.common.collect.testing.features.MapFeature;
48 MapFeature.ALLOWS_NULL_KEYS, in suite()
49 MapFeature.ALLOWS_NULL_VALUES, in suite()
50 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
51 MapFeature.GENERAL_PURPOSE, in suite()
52 MapFeature.REJECTS_DUPLICATES_AT_CREATION) in suite()
58 MapFeature.ALLOWS_NULL_KEYS, in suite()
59 MapFeature.ALLOWS_NULL_VALUES, in suite()
60 MapFeature.ALLOWS_ANY_NULL_QUERIES, in suite()
61 MapFeature.GENERAL_PURPOSE, in suite()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.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;
30 import com.google.common.collect.testing.features.MapFeature;
44 @MapFeature.Require(SUPPORTS_PUT)
56 @MapFeature.Require(SUPPORTS_PUT)
63 @MapFeature.Require(SUPPORTS_PUT)
74 @MapFeature.Require(SUPPORTS_PUT)
82 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
88 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
[all …]
DMultimapClearTester.java20 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
26 import com.google.common.collect.testing.features.MapFeature;
40 @MapFeature.Require(absent = SUPPORTS_REMOVE)
62 @MapFeature.Require(SUPPORTS_REMOVE)
68 @MapFeature.Require(SUPPORTS_REMOVE)
74 @MapFeature.Require(SUPPORTS_REMOVE)
80 @MapFeature.Require(SUPPORTS_REMOVE)
86 @MapFeature.Require(SUPPORTS_REMOVE)
92 @MapFeature.Require(SUPPORTS_REMOVE)
98 @MapFeature.Require(SUPPORTS_REMOVE)
[all …]
DMultimapRemoveEntryTester.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_KEY_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
23 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
32 import com.google.common.collect.testing.features.MapFeature;
46 @MapFeature.Require(SUPPORTS_REMOVE)
53 @MapFeature.Require(SUPPORTS_REMOVE)
64 @MapFeature.Require({ SUPPORTS_REMOVE, ALLOWS_NULL_KEYS })
75 @MapFeature.Require({ SUPPORTS_REMOVE, ALLOWS_NULL_VALUES })
[all …]
DMultimapPutAllMultimapTester.java19 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
20 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
21 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
27 import com.google.common.collect.testing.features.MapFeature;
39 @MapFeature.Require(absent = SUPPORTS_PUT)
48 @MapFeature.Require(SUPPORTS_PUT)
55 @MapFeature.Require(SUPPORTS_PUT)
65 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
73 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
81 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
[all …]
DMultimapEntriesTester.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_KEY_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
23 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
32 import com.google.common.collect.testing.features.MapFeature;
50 @MapFeature.Require(ALLOWS_NULL_KEYS)
57 @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
63 @MapFeature.Require(ALLOWS_NULL_VALUES)
70 @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
[all …]
DMultimapContainsEntryTester.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_KEY_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
23 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
28 import com.google.common.collect.testing.features.MapFeature;
57 @MapFeature.Require({ ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES })
63 @MapFeature.Require({ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_VALUE_QUERIES })
68 @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
82 @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
DMultimapGetTester.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.ALLOWS_NULL_VALUES;
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
25 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
32 import com.google.common.collect.testing.features.MapFeature;
74 @MapFeature.Require(SUPPORTS_REMOVE)
87 @MapFeature.Require(SUPPORTS_REMOVE)
94 @MapFeature.Require(SUPPORTS_PUT)
103 @MapFeature.Require(SUPPORTS_PUT)
[all …]
DMultimapRemoveAllTester.java21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES;
22 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
30 import com.google.common.collect.testing.features.MapFeature;
41 @MapFeature.Require(SUPPORTS_REMOVE)
48 @MapFeature.Require(SUPPORTS_REMOVE)
56 @MapFeature.Require(SUPPORTS_REMOVE)
67 @MapFeature.Require(SUPPORTS_REMOVE)
80 @MapFeature.Require({ SUPPORTS_REMOVE, ALLOWS_NULL_KEYS })
89 @MapFeature.Require({ SUPPORTS_REMOVE, ALLOWS_ANY_NULL_QUERIES})
DMultimapPutTester.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;
31 import com.google.common.collect.testing.features.MapFeature;
45 @MapFeature.Require(absent = SUPPORTS_PUT)
53 @MapFeature.Require(SUPPORTS_PUT)
68 @MapFeature.Require(SUPPORTS_PUT)
85 @MapFeature.Require(SUPPORTS_PUT)
105 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
115 @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
[all …]
DMultimapAsMapGetTester.java21 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;
24 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
31 import com.google.common.collect.testing.features.MapFeature;
44 @MapFeature.Require(SUPPORTS_REMOVE)
57 @MapFeature.Require(SUPPORTS_REMOVE)
65 @MapFeature.Require(SUPPORTS_REMOVE)
74 @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
82 @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUE_QUERIES})
[all …]
DBiMapClearTester.java19 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
23 import com.google.common.collect.testing.features.MapFeature;
32 @MapFeature.Require(SUPPORTS_REMOVE)
40 @MapFeature.Require(SUPPORTS_REMOVE)
48 @MapFeature.Require(SUPPORTS_REMOVE)
56 @MapFeature.Require(SUPPORTS_REMOVE)
64 @MapFeature.Require(SUPPORTS_REMOVE)
72 @MapFeature.Require(SUPPORTS_REMOVE)
DMultimapReplaceValuesTester.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;
23 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
30 import com.google.common.collect.testing.features.MapFeature;
47 @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
57 @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
67 @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
78 @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
90 @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
[all …]

1234