- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 612 for Failures (0.8 sec)
-
guava/src/com/google/common/base/Throwables.java
* try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * } * if (failure != null) { * throwIfInstanceOf(failure, BarException.class); * throwIfUnchecked(failure); * throw new AssertionError(failure); * } * </pre> * * @since 20.0 */ @GwtIncompatible // Class.cast, Class.isInstanceRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
@Nullable private String value = null; @Nullable private Throwable failure = null; private boolean wasCalled = false; private final Object monitor = new Object(); MockCallback(String expectedValue) { this.value = expectedValue; } MockCallback(Throwable expectedFailure) { this.failure = expectedFailure; } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt
const val INDIVIDUAL_PERFORAMCE_TEST_ARTIFACT_RULES = """ testing/*/build/test-results-*.zip => results testing/*/build/tmp/**/log.txt => failure-logs testing/*/build/tmp/**/profile.log => failure-logs testing/*/build/tmp/**/daemon-*.out.log => failure-logs """ // to avoid pathname too long error fun BuildSteps.substDirOnWindows(os: Os) { if (os == Os.WINDOWS) { script {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 07:15:16 UTC 2025 - 4K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?, ) { get().log("[ES] onFailure", Platform.INFO, t) events.add(Failure(t, response, t?.message ?: response?.body?.string())) drainCancelQueue(eventSource) } private fun drainCancelQueue(eventSource: EventSource) { if (cancel) { cancel = false eventSource.cancel()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseExecutionPoint.java
/** * Execution must occur before any executions of the phase proper. Failure of any {@code #BEFORE} dynamic phase * execution will prevent the {@link #AT} phase but will not prevent any {@link #AFTER} dynamic phases. */ BEFORE("before:"), /** * Execution is the execution of the phase proper. Failure of any {@code #AT} dynamic phase execution will failRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
.build() connection.start() } catch (e: IOException) { logger.log(Level.INFO, "Http2Server connection failure: $e") socket?.closeQuietly() } catch (e: Exception) { logger.log(Level.WARNING, "Http2Server unexpected failure", e) socket?.closeQuietly() } } } private fun doSsl(socket: Socket): SSLSocket { val sslSocket =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
// Test that icon methods don't throw exceptions // (The actual icon choice depends on terminal charset capabilities) context.success("Test success message"); context.failure("Test failure message"); context.warning("Test warning message"); context.detail("Test detail message"); context.action("Test action message"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verify(handle, times(1)).hasCapability(captor.capture()); assertEquals(cap, captor.getValue()); } @Test @DisplayName("hasCapability(cap): propagates CIFSException on failure") void hasCapability_throws() throws Exception { // Arrange when(handle.hasCapability(anyInt())).thenThrow(new CIFSException("capability check failed")); // Act + Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testSetFailureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setException(null)); assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testCancel() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
if err != nil { t.Fatalf("Unexpected failure %s", err) } argPatterns[i] = patterns } gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns) if err != nil && testCase.success { t.Errorf("Expected success but failed instead %s", err) } if err == nil && !testCase.success { t.Errorf("Expected failure but passed instead") }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.1K bytes - Viewed (0)