Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 42 for testException (0.12 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/TestExceptions.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top