- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 460 for throwing (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
throw new RuntimeException("I'm a misbehaving implementation"); } }.toString()) .matches( "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: " + "class java.lang.RuntimeException\\]\\]"); } public void testCompletionFinishesWithDone() { ExecutorService executor = newFixedThreadPool(10);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
SmbException e = assertThrows(SmbException.class, () -> { context.initSecContext(malformedToken, 0, malformedToken.length); }); // Exception is thrown, but cause may or may not be set depending on implementation assertNotNull(e.getMessage()); // Should have an error message } @Test void testGetters() { // Simple test for getter methodsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. * This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. * * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /** * Thrown if the test tries to invoke a constructor or static factory method but failed because * the dummy value of a constructor or method parameter is unknown. */ @VisibleForTesting
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
try { final ExtractData result = tarExtractor.getText(invalidStream, null); // If no exception is thrown, result should be empty or minimal assertNotNull("Result should not be null", result); assertNotNull("Content should not be null", result.getContent());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
private long ttl; private String server; // Server private String share; // Share private String link; private String path; // Path relative to tree from which this referral was thrown private long expiration; private int rflags; private boolean resolveHashes; private DfsReferralDataImpl next; private Map<String, DfsReferralDataInternal> map; private String key;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
verify(initialOutputStream).write(testData); verify(initialOutputStream).flush(); verify(initialOutputStream).close(); } /** * Test that a RuntimeCIFSException is thrown when the handshake fails due to an underlying exception. * @throws IOException */ @Test void testHandshakeThrowsRuntimeExceptionOnFailure() throws Exception { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
assertNotNull(testConverter); } @Test public void testInit() throws IOException { // Test init method (should do nothing) converter.init(); // No exception should be thrown } @Test public void testConvertWithNoLanguages() throws IOException { // Test convert with no languages specified String text = "test text"; String field = "content";
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. * This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. * * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* different behavior in case it is interrupted while waiting. In that case, the operation will * continue as usual, and in the end the thread's interruption status will be set (no {@code * InterruptedException} is thrown). * * @param q the blocking queue to be drained * @param buffer where to add the transferred elements * @param numElements the number of elements to be waited for
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0)