Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for failureCase (0.05 sec)

  1. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
        platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion + 1)
      }
    
      @Test
      fun failureCase() {
        platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion)
    
        check(false)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause)));
        assertThat(expected).hasCauseThat().isEqualTo(failureCause);
      }
    
      public void testCancelled() throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

        delegate.addListener(listener, executor);
      }
    
      /**
       * @since 14.0
       */
      @Override
      public final Throwable failureCause() {
        return delegate.failureCause();
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

        delegate.addListener(listener, executor);
      }
    
      /**
       * @since 14.0
       */
      @Override
      public final Throwable failureCause() {
        return delegate.failureCause();
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top