- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testParseLongFails (0.24 sec)
-
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
try { UnsignedLongs.parseUnsignedLong(""); fail("NumberFormatException should have been raised."); } catch (NumberFormatException expected) { } } public void testParseLongFails() { try { // One more than maximum value UnsignedLongs.parseUnsignedLong("18446744073709551616"); fail(); } catch (NumberFormatException expected) { } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
try { UnsignedLongs.parseUnsignedLong(""); fail("NumberFormatException should have been raised."); } catch (NumberFormatException expected) { } } public void testParseLongFails() { try { // One more than maximum value UnsignedLongs.parseUnsignedLong("18446744073709551616"); fail(); } catch (NumberFormatException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:36:17 GMT 2024 - 13.2K bytes - Viewed (0)