- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 104 for propagated (0.26 sec)
-
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
assertEquals(0, numCalls.get()); reject.set(false); executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? * * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this. @SuppressWarnings("ThreadPriorityCheck") // We only propagate user requests (which we discourage). private static ThreadFactory doBuild(ThreadFactoryBuilder builder) { String nameFormat = builder.nameFormat; Boolean daemon = builder.daemon;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* continues. See {@link QueueWorker#workOnQueue} for details. * * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking. * If an {@code Error} is thrown, the error will propagate and execution will stop until it is * restarted by a call to {@link #execute}. */ @J2ktIncompatible @GwtIncompatible final class SequentialExecutor implements Executor {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).isSigningOptional(); verify(transport).isSigningEnforced(); } // Error propagation: signing checks may throw SmbException @Test @DisplayName("signing checks propagate SmbException") void signingChecks_throw() throws Exception { doThrow(new SmbException("opt error")).when(transport).isSigningOptional();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
*/ @Test void testClose_throwsException() { doThrow(new RuntimeException("Failed to close")).when(smbTree).close(); assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails"); } /** * Test for AutoCloseable functionality. * Verifies that SmbTree can be used in try-with-resources. */ @Test void testAutoCloseable() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
}; ComponentUtil.register(searchEngineClient, "searchEngineClient"); // OutOfMemoryError is an Error, not Exception, so it will not be caught // The test should expect the error to propagate try { purgeDocJob.execute(); fail("Expected OutOfMemoryError to be thrown"); } catch (OutOfMemoryError e) { assertEquals("Out of memory", e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
verify(configuration, atLeastOnce()).getOemEncoding(); verifyNoMoreInteractions(cifsContext, configuration); } @Test @DisplayName("getPreNTLMResponse: unsupported OEM encoding propagates as runtime exception") void testGetPreNTLMResponse_invalidEncoding() { // Arrange when(cifsContext.getConfig()).thenReturn(configuration);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(nego.isSigningNegotiated()).thenReturn(false); assertFalse(session.isSignatureSetupRequired()); } @Test @DisplayName("reauthenticate propagates transport failures") void testReauthenticatePropagates() throws Exception { SmbSessionImpl session = newSession(); // Cause the inner reauthenticate to fail at first transport call
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
throw new RuntimeException("Test exception"); }; try { ThreadDumpUtil.processThreadDump(exceptionConsumer); fail("Should propagate RuntimeException from consumer"); } catch (RuntimeException e) { assertEquals("Test exception", e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); } @Test @DisplayName("send honors NO_RETRY and propagates error immediately") void send_noRetry_param() throws Exception { SmbTreeConnection c = newConn(); SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.acquire(false)).thenReturn(tree);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0)