- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testFromByteArrayFails (0.11 sec)
-
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC'); } @GwtIncompatible // Chars.fromByteArray public void testFromByteArrayFails() { assertThrows( IllegalArgumentException.class, () -> Chars.fromByteArray(new byte[Chars.BYTES - 1])); } @GwtIncompatible // Chars.fromBytes public void testFromBytes() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.fromByteArray(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC})) .isEqualTo(0xFFEEDDCC); } public void testFromByteArrayFails() { assertThrows( IllegalArgumentException.class, () -> Ints.fromByteArray(new byte[Ints.BYTES - 1])); } public void testFromBytes() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
(byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 })) .isEqualTo(0xFFEEDDCCBBAA9988L); } public void testFromByteArrayFails() { assertThrows( IllegalArgumentException.class, () -> Longs.fromByteArray(new byte[Longs.BYTES - 1])); } public void testFromBytes() { assertThat( Longs.fromBytes(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0)