- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,015 for exception (1.29 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } /** * Test constructor with various cause types */ public void test_constructor_withVariousCauseTypes() { // With Exception cause Exception exceptionCause = new Exception("Exception cause");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, c3Exception, c1Exception)); } public static void testSuppressingSuppressor() throws IOException { Closer closer = Closer.create(); IOException thrownException = new IOException(); IOException c1Exception = new IOException(); RuntimeException c2Exception = new RuntimeException();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// All threads should fail with the same IOException (project ID is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get()); // All exceptions should be about project ID being blank for (Exception e : exceptions) { assertTrue(e instanceof IOException);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, c3Exception, c1Exception)); } public static void testSuppressingSuppressor() throws IOException { Closer closer = Closer.create(); IOException thrownException = new IOException(); IOException c1Exception = new IOException(); RuntimeException c2Exception = new RuntimeException();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
// All threads should fail with the same IOException (endpoint is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get()); // All exceptions should be about endpoint being blank for (Exception e : exceptions) { assertTrue(e instanceof IOException);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
@DisplayName("Should handle deeply nested exceptions") void testToStringWithNestedExceptions() { Exception innermost = new IOException("Innermost exception"); Exception middle = new RuntimeException("Middle exception", innermost); Exception rootCause = new IllegalStateException("Outer exception", middle); TransportException exception = new TransportException("Transport failed", rootCause);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
} @Test void testDuplicatePluginExecution() throws Exception { SimpleProblemCollector result = validateRaw("duplicate-plugin-execution.xml"); assertViolations(result, 0, 4, 0); assertContains(result.getErrors().get(0), "duplicate execution with id a"); assertContains(result.getErrors().get(1), "duplicate execution with id default");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 33.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
} // Error case: disconnect throws IOException @Test @DisplayName("disconnect throws IOException when underlying close fails") void disconnect_throwsIOException() throws Exception { doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true); java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.disconnect(true, true));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
void testGetSessionKey_ThrowsCIFSException() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); CIFSException exception = new CIFSException("Test exception"); when(mockSmbPipeHandleInternal.getSessionKey()).thenThrow(exception); assertThrows(CIFSException.class, handle::getSessionKey); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
executor.shutdown(); // Then - No unexpected exceptions assertTrue(exceptions.isEmpty(), "No unexpected exceptions should occur"); } /** * Test that CopyOnWriteArrayList prevents ConcurrentModificationException. */ @Test public void testNoConcurrentModificationException() throws Exception { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0)