- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 7,743 for Require (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
} @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_notPresent() { assertNull("remove(notPresent) should return null", getMap().remove(k3())); expectUnchanged(); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) @CollectionSize.Require(absent = ZERO) public void testRemove_nullPresent() { initMapWithNullKey(); int initialSize = getMap().size(); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testKeysCountAbsentNullKey() { assertEquals(0, multimap().keys().count(null)); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeysWithNullKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
assertTrue(multimap().keySet().contains(entry.getKey())); } } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeySetContainsNullKeyPresent() { initMultimapWithNullKey(); assertTrue(multimap().keySet().contains(null)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testKeySetContainsNullKeyAbsent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
} @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testToStringWithNullKey() { initMultimapWithNullKey(); testToStringMatchesAsMap(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) @MapFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testContains_nullNotContainedAndUnsupported() { expectNullKeyMissingWhenNullKeysUnsupported("containsKey(null) should return false or throw"); } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testContains_nonNullWhenNullContained() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
assertEquals(getMultiset().entrySet().hashCode(), getMultiset().hashCode()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEqualsMultisetWithNullValue() { new EqualsTester() .addEqualityGroup(getMultiset()) .addEqualityGroup( getSubjectGenerator().create(createArrayWithNullElement()),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear(); assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testEntrySet_iteratorRemovePropagates() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
@CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertTrue("add(present) should return true", getList().add(e0())); expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertEquals(2, multimap().size()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testPropagatesRemoveLastElementToMultimap() { Collection<V> result = multimap().get(k0()); assertTrue(result.remove(v0())); assertGet(k0()); } @MapFeature.Require(SUPPORTS_PUT) public void testPropagatesAddToMultimap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutAll_supportedSomePresent() { putAll(MinimalCollection.of(e3(), e0())); expectAdded(e3()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO) public void testPutAllSomePresentConcurrentWithEntrySetIteration() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.7K bytes - Viewed (0)