Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 416 for FAILURE (0.32 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            .build()
        val call = client.newCall(request)
        call.enqueue(callback)
        val recordedResponse = callback.await(server.url("/"))
        assertThat(recordedResponse.failure, "canceled due to java.lang.RuntimeException: boom!")
        recordedResponse.failure!!.assertSuppressed { throwables: List<Throwable>? ->
          assertThat(throwables!!).contains(boom)
          Unit
        }
        assertThat(call.isCanceled()).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                logger
                    .get()
                    .log(
                        Level.WARNING,
                        "Error while attempting to shut down the service after failure.",
                        ignored);
              }
              notifyFailed(t);
              // requireNonNull is safe now, just as it was above.
              requireNonNull(runningTask).cancel(false); // prevent future invocations.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          for (String message : expectedMessages) {
            assertThat(expected).hasMessageThat().contains(message);
          }
          return;
        }
        fail("expected failure not reported");
      }
    
      private class ForwardingRunnable implements Runnable {
    
        private final Runnable runnable;
    
        ForwardingRunnable(Runnable runnable) {
          this.runnable = runnable;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        public ChannelInfo selectChannel(CommonServerMessageBlock message) {
            return loadBalancer.selectChannel(message);
        }
    
        /**
         * Handle channel failure
         *
         * @param channel failed channel
         * @param error error that caused failure
         */
        public void handleChannelFailure(ChannelInfo channel, Exception error) {
            failover.handleFailure(channel, error);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
            // After failure, state should be reset to disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSend() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *     .build();
     * client.newCall(request).execute();
     * ```
     *
     * As expected, this fails with a certificate pinning exception:
     *
     * ```java
     * javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure!
     * Peer certificate chain:
     *     sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=: CN=publicobject.com, OU=PositiveSSL
     *     sha256/klO23nT2ehFDXCfx3eHTDRESMz3asj1muO+4aIdjiuY=: CN=COMODO RSA Secure Server CA
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
                        throw new TransferFailedException("Failure to resolve " + remotePath + " from "
                                + repository.getUrl()
                                + " was cached in the local repository. "
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
                    if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) {
                        wordCount += 8;
                    }
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE");
            verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction
        }
    
        @Test
        @DisplayName("openConnection uses SingletonContext when no context provided")
        void testOpenConnection_UsesSingletonContext() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top