Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testToImmutableList (0.43 sec)

  1. 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");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top