- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 221 for succeeds (0.06 seconds)
-
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 } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
AtomicDouble at = new AtomicDouble(1.0); assertBitEquals(1.0, at.get()); for (double x : VALUES) { at.lazySet(x); assertBitEquals(x, at.get()); } } /** compareAndSet succeeds in changing value if equal to expected else fails */ public void testCompareAndSet() { double prev = Math.E; double unused = Math.E + Math.PI; AtomicDouble at = new AtomicDouble(prev);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
testClient.deleteIndexResult = true; testClient.documentCount = 10; testClient.aliasCount = 2; // First createIndex (backup) succeeds, second (new) fails testClient.createIndexFailOnNth = 2; final boolean result = testClient.reindexConfigIndices(false, allTargetPrefixes()); assertFalse(result); // Backup should be cleaned upCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
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;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
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;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
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
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
android/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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)