Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for testToArray_withNull (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Byte> list = Arrays.asList((byte) 0, (byte) 1, null);
        assertThrows(NullPointerException.class, () -> Bytes.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BytesTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Byte> list = Arrays.asList((byte) 0, (byte) 1, null);
        assertThrows(NullPointerException.class, () -> Bytes.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Character> list = Arrays.asList((char) 0, (char) 1, null);
        assertThrows(NullPointerException.class, () -> Chars.toArray(list));
      }
    
      @J2ktIncompatible // b/285319375
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null);
        assertThrows(NullPointerException.class, () -> Doubles.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BooleansTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Boolean> list = Arrays.asList(false, true, null);
        assertThrows(NullPointerException.class, () -> Booleans.toArray(list));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null);
        assertThrows(NullPointerException.class, () -> Floats.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Integer> list = Arrays.asList((int) 0, (int) 1, null);
        assertThrows(NullPointerException.class, () -> Ints.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null);
        assertThrows(NullPointerException.class, () -> Doubles.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null);
        assertThrows(NullPointerException.class, () -> Floats.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
        List<@Nullable Long> list = Arrays.asList((long) 0, (long) 1, null);
        assertThrows(NullPointerException.class, () -> Longs.toArray(list));
      }
    
      public void testToArray_withConversion() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top