Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for TestException (0.07 seconds)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Then
            assertEquals(expectedException, actualException);
            verify(response).getException();
        }
    
        @Test
        @DisplayName("Test Response interface methods - exception")
        void testException() {
            // Given
            Exception ex = new RuntimeException("Runtime error");
            doNothing().when(response).exception(ex);
    
            // When
            response.exception(ex);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(
                new AbstractFuture<Object>() {
                  {
                    set(value);
                  }
                }.get())
            .isEqualTo(value);
      }
    
      public void testException() throws InterruptedException {
        Throwable failure = new Throwable();
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                setException(failure);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(
                new AbstractFuture<Object>() {
                  {
                    set(value);
                  }
                }.get())
            .isEqualTo(value);
      }
    
      public void testException() throws InterruptedException {
        Throwable failure = new Throwable();
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                setException(failure);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isCancelled());
        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isCancelled());
        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top