- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToArray_emptyArrayOfWrongTypeForNonEmptyCollection (0.25 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
array[getNumElements()]); // array[getNumElements() + 1] might or might not have been nulled } @CollectionSize.Require(absent = ZERO) public void testToArray_emptyArrayOfWrongTypeForNonEmptyCollection() { assertThrows( ArrayStoreException.class, () -> { WrongType[] array = new WrongType[0]; collection.toArray(array); }); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0)