Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for succeeds (0.05 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

          return new ThrowingCreator();
        } catch (ClassNotFoundException e) {
          // Should be impossible, but we want to return *something* so that class init succeeds.
          return new ThrowingCreator();
        } catch (IllegalAccessException e) {
          // ditto
          return new ThrowingCreator();
        }
    
        // Android isolates apps' temporary directories since Jelly Bean:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        }
    
        @Test
        @DisplayName("Iterator with filter throwing exception")
        void iteratorWithFilterException() throws Exception {
            // Setup: first attempt throws, second succeeds
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top