- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testAddAll_unsupportedAllPresent (0.25 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { try { getList().addAll(MinimalCollection.of(e0())); fail("addAll(allPresent) should throw"); } catch (UnsupportedOperationException expected) { } expectUnchanged(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { try { getList().addAll(MinimalCollection.of(e0())); fail("addAll(allPresent) should throw"); } catch (UnsupportedOperationException expected) { } expectUnchanged(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
} catch (ConcurrentModificationException expected) { // success } } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { try { assertFalse( "addAll(allPresent) should return false or throw", collection.addAll(MinimalCollection.of(e0()))); } 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) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
} catch (ConcurrentModificationException expected) { // success } } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAddAll_unsupportedAllPresent() { try { assertFalse( "addAll(allPresent) should return false or throw", collection.addAll(MinimalCollection.of(e0()))); } 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)