Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for succeeds (0.04 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
        @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds")
        void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception {
            // Arrange
            SmbFile dest = mock(SmbFile.class);
            SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                // Verify that no renewal happened
                assertFalse(renewed, "renewCredentials should return false if no renewal mechanism succeeds");
                assertEquals(mockCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if no renewal mechanism succeeds");
                // Note: Credentials interface does not have renew() method
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                            throw new RuntimeException("Even call error");
                        }
                        // Odd calls succeed
                    }
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // First call (odd) should succeed
            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
            // Second call (even) should fail
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. docs/features/connections.md

     * Don't start a new attempt until 250 ms after the most recent attempt was started.
     * Keep whichever TCP connection succeeds first and cancel all the others.
     * Race TCP only. Only attempt a TLS handshake on the winning TCP connection.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        }
    
        @Test
        public void testReconnectHandleSuccess() throws Exception {
            when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle);
    
            // Create a test reconnector that succeeds
            TestHandleReconnector testReconnector = new TestHandleReconnector(mockManager, true);
    
            CompletableFuture<HandleInfo> future = testReconnector.reconnectHandle("/test/file.txt", new IOException("Network error"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
          listener: EventSourceListener,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          } else {
            succ.predecessorInMultimap = pred;
          }
        }
    
        void delete(ValueEntry<K, V> entry) {
          succeeds(entry.predecessorInMultimap, entry.successorInMultimap);
        }
    
        void append(ValueEntry<K, V> newEntry) {
          succeeds(lastEntry, newEntry);
          lastEntry = newEntry;
        }
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          aa.lazySet(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

                TestCredentials creds = new TestCredentials("X", false, false, null, false);
                assertNull(creds.getSubject());
            }
        }
    
        @Test
        @DisplayName("refresh succeeds when not configured to fail")
        void refresh_success() throws Exception {
            TestCredentials creds = new TestCredentials("Z", false, false, new Subject(), false);
            // Should not throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        assertThat(response1.body.string()).isEqualTo("abc")
        response1.close()
    
        // Force a fresh connection for the next request.
        client.connectionPool.evictAll()
    
        // Confirm that a second request also succeeds. This should detect caching problems.
        server.enqueue(
          MockResponse
            .Builder()
            .body("def")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        val call2 =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
Back to top