Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testThrowIfUnchecked_checked (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      public void testThrowIfUnchecked_error() {
        assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError()));
      }
    
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testThrowIfUnchecked_checked() {
        throwIfUnchecked(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      public void testPropagateIfPossible_noneDeclared_unchecked() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      public void testThrowIfUnchecked_error() {
        assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError()));
      }
    
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testThrowIfUnchecked_checked() {
        throwIfUnchecked(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      public void testPropagateIfPossible_noneDeclared_unchecked() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top