- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testToImmutableList (0.74 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertThrows( NullPointerException.class, () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c)); } // TODO(b/172823566): Use mainline testToImmutableList once CollectorTester is usable to java7. public void testToImmutableList_java7_combine() { ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertThrows( NullPointerException.class, () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c)); } public void testToImmutableList() { CollectorTester.of(ImmutableList.<String>toImmutableList()) .expectCollects(ImmutableList.of("a", "b", "c", "d"), "a", "b", "c", "d"); } // Basic tests @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0)