/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestsForMapsInJavaUtil.java | 24 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/ |
D | TestsForMapsInJavaUtil.java | 24 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/ |
D | MapPutTester.java | 20 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 …]
|
D | ConcurrentMapReplaceEntryTester.java | 20 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 …]
|
D | MapRemoveTester.java | 21 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 …]
|
D | MapPutAllTester.java | 20 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 …]
|
D | ConcurrentMapRemoveTester.java | 20 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 …]
|
D | ConcurrentMapReplaceTester.java | 20 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/ |
D | MapPutTester.java | 20 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 …]
|
D | MapReplaceEntryTester.java | 20 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 …]
|
D | ConcurrentMapReplaceEntryTester.java | 20 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 …]
|
D | MapRemoveTester.java | 21 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 …]
|
D | MapRemoveEntryTester.java | 20 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 …]
|
D | MapPutAllTester.java | 20 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 …]
|
D | MapPutIfAbsentTester.java | 20 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 …]
|
D | ConcurrentMapRemoveTester.java | 20 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 …]
|
D | MapReplaceTester.java | 20 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 …]
|
D | MapComputeIfAbsentTester.java | 20 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 …]
|
D | ConcurrentMapReplaceTester.java | 20 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/ |
D | MapsCollectionTest.java | 38 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 …]
|
D | MultimapsCollectionTest.java | 45 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/ |
D | MapsCollectionTest.java | 38 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 …]
|
D | MultimapsCollectionTest.java | 44 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/ |
D | MultimapPutIterableTester.java | 21 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/ |
D | MultimapPutIterableTester.java | 21 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 …]
|