- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 86 for propagated (0.05 seconds)
-
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (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());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
nextHeaderIndex += entriesToEvict } return entriesToEvict } /** * Read `byteCount` bytes of headers from the source stream. This implementation does not * propagate the never indexed flag of a header. */ @Throws(IOException::class) fun readHeaders() { while (!source.exhausted()) { val b = source.readByte() and 0xff when {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 23.2K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* <li>It doesn't support backpressure and other features needed for resilience. * <li>It doesn't provide much control of threading. * <li>It doesn't offer much monitoring. * <li>It doesn't propagate exceptions, so apps don't have a way to react to them. * <li>It doesn't interoperate well with RxJava, coroutines, and other more commonly used * alternatives.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
// Should catch the exception and return EXIT_FAIL assertEquals(Constants.EXIT_FAIL, result); } catch (RuntimeException e) { // Expected behavior - test exception propagates assertEquals("Test exception", e.getMessage()); } } // Test writeTimeToSessionInfo method @Test public void test_writeTimeToSessionInfo_withValidHelper() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (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()); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* not work. (Under Android in particular, we really should check the API Level instead of * probing for methods....) But it's hard to imagine how reachabilityFence in particular could * exist but throw, so we propagate anything that's thrown, presumably an unchecked Exception * or Error. */ throwIfUnchecked(e.getCause()); throw new AssertionError(e.getCause()); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
serverListener.assertFailure(EOFException::class.java) serverListener.assertExhausted() clientListener.assertFailure(e) } @Disabled("AsyncCall currently lets runtime exceptions propagate.") @Test @Throws( Exception::class, ) fun throwingOnFailLogs() { webServer.enqueue( MockResponse .Builder() .code(200) .body("Body")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
* we read one of the fields declared in that class. */ Set<Integer> unused = graph.successors(first); return null; // so the lambda is a Callable to propagate checked await() exceptions })); } // For more about this test, see the equivalent in AbstractNetworkTest. for (Future<?> future : futures.build()) { future.get(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 17.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
val lastGoodStreamId: Int withLock { if (isShutdown) { return } isShutdown = true lastGoodStreamId = this.lastGoodStreamId } // TODO: propagate exception message into debugData. // TODO: configure a timeout on the reader so that it doesn’t block forever. writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY) } } /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)