Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException (0.27 seconds)

  1. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooShortByteArray =
            ByteBuffer.allocate(buffer.length - 1)
                .order(ByteOrder.LITTLE_ENDIAN)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/PairedStatsTest.java

                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooShortByteArray =
            ByteBuffer.allocate(buffer.length - 1)
                .order(ByteOrder.LITTLE_ENDIAN)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top