Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testToStringImplWithNullEntries (0.32 seconds)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
        assertNoMorePermutations(permutations);
      }
    
      public void testToStringImplWithNullEntries() throws Exception {
        List<@Nullable String> list = new ArrayList<>();
        list.add("foo");
        list.add(null);
    
        assertThat(Collections2.toStringImpl(list)).isEqualTo(list.toString());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
        assertNoMorePermutations(permutations);
      }
    
      public void testToStringImplWithNullEntries() throws Exception {
        List<@Nullable String> list = new ArrayList<>();
        list.add("foo");
        list.add(null);
    
        assertThat(Collections2.toStringImpl(list)).isEqualTo(list.toString());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
Back to Top