- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for emptyCollection (0.2 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
public class CollectionRemoveAllTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_emptyCollection() { assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
public class CollectionRemoveAllTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_emptyCollection() { assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); expectUnchanged(); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); expectUnchanged(); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
} @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() { assertEquals(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
} @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() { assertEquals(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
return getNumElements() / 2; } protected MinimalCollection<E> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); } protected MinimalCollection<E> emptyCollection() { return MinimalCollection.<E>of(); } protected final E e0() { return samples.e0(); } protected final E e1() { return samples.e1(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
return getNumElements() / 2; } protected MinimalCollection<E> createDisjointCollection() { return MinimalCollection.of(e3(), e4()); } protected MinimalCollection<E> emptyCollection() { return MinimalCollection.<E>of(); } protected final E e0() { return samples.e0(); } protected final E e1() { return samples.e1(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0)