- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testCopyOf_arrayContainingOnlyNull (0.25 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertEquals(singleton("a"), set); } public void testCopyOf_nullArray() { assertThrows(NullPointerException.class, () -> copyOf((String[]) null)); } public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; assertThrows(NullPointerException.class, () -> copyOf((String[]) array)); } public void testCopyOf_collection_empty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(singletonList("a"), list); } public void testCopyOf_nullArray() { assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((String[]) null)); } public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((String[]) array)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(singletonList("a"), list); } public void testCopyOf_nullArray() { assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((String[]) null)); } public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; assertThrows(NullPointerException.class, () -> ImmutableList.copyOf((String[]) array)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0)