Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testCopyOf_arrayContainingOnlyNull (0.27 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. 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 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