- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 270 for succeed (0.59 sec)
-
guava/src/com/google/common/util/concurrent/ClosingFuture.java
return whenAllComplete(asList(future1, moreFutures)); } /** * Starts specifying how to combine {@link ClosingFuture}s into a single pipeline, assuming they * all succeed. If any fail, the resulting pipeline will fail. * * @throws IllegalStateException if a {@code ClosingFuture} has already been derived from any of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
updateItem2.setNewInputs(new String[] { "p", "q" }); updateItem2.setNewOutput("r"); // First update should succeed charMappingFile.update(updateItem1); // Second update should fail due to mismatch try { charMappingFile.update(updateItem2); fail("Should throw DictionaryException");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
final class Task implements Runnable { @Override public void run() { lock.lock(); try { /* * requireNonNull is safe because Task isn't run (or at least it doesn't succeed in taking * the lock) until after it's scheduled and the runningTask field is set. */ if (requireNonNull(runningTask).isCancelled()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
.getInputStream() fail<Any>() } catch (expected: IOException) { } server .url("/b") .toUrl() .openConnection() .getInputStream() // Should succeed. } /** * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this * should yield one sleep for a total delay of 500ms. */ @Test fun throttleRequest() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
body = "Redirecting to /" + (i + 1), ), ) } server.enqueue( MockResponse(body = "Success!"), ) val response = getResponse(newRequest("/0")) assertContent("Success!", response) assertThat(response.request.url) .isEqualTo(server.url("/20")) } @Test fun doesNotFollow21Redirects() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
private static final class TimedPutQueue { final BlockingQueue<String> queue; final Completion completed; /** * Creates a {@link EnableWrites} which open up a spot for a {@code put} to succeed in {@code * countdownInMillis}. */ static TimedPutQueue createWithDelay(long countdownInMillis) { return new TimedPutQueue(countdownInMillis); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
fail<Unit>() } catch (expected: IOException) { // Expected. } server .url("/b") .toUrl() .openConnection() .getInputStream() // Should succeed. } @Test fun clearDispatcherQueue() { server.enqueue(MockResponse(body = "A")) (server.dispatcher as QueueDispatcher).clear() server.enqueue(MockResponse(body = "B"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} } } /* * This next part consists of several sample classes that provide * demonstrations of conditions that cause NullPointerTester * to succeed/fail. */ /** Lots of well-behaved methods. */ @SuppressWarnings("unused") // used by reflection private static class PassObject extends SomeClassThatDoesNotUseNullable { @Keep
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
final class Task implements Runnable { @Override public void run() { lock.lock(); try { /* * requireNonNull is safe because Task isn't run (or at least it doesn't succeed in taking * the lock) until after it's scheduled and the runningTask field is set. */ if (requireNonNull(runningTask).isCancelled()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertTrue(expectedSuccess); } catch (ArithmeticException e) { if (expectedSuccess) { failFormat( "expected divide(%s, %s, UNNECESSARY) to succeed; got ArithmeticException", p, q); } } } } } @GwtIncompatible // TODO public void testZeroDivIsAlwaysZero() { for (long q : NONZERO_LONG_CANDIDATES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0)