Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTryParse_withNullGwt (0.3 sec)

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

      }
    
      public void testTryParse_radixTooSmall() {
        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MIN_RADIX - 1));
      }
    
      public void testTryParse_withNullGwt() {
        assertThat(Ints.tryParse("null")).isNull();
        assertThrows(NullPointerException.class, () -> Ints.tryParse(null));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testTryParse_radixTooSmall() {
        assertThrows(
            IllegalArgumentException.class, () -> Longs.tryParse("0", Character.MIN_RADIX - 1));
      }
    
      public void testTryParse_withNullGwt() {
        assertThat(Longs.tryParse("null")).isNull();
        assertThrows(NullPointerException.class, () -> Longs.tryParse(null));
      }
    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