- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 162 for getCauses (0.07 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
actual = e; } assertNotNull("verify() should be able to cause test failure", actual); assertTrue( "AssertionError should have info about why test failed", actual.getCause().getMessage().contains(message)); } public void testMissingException() { List<Integer> emptyList = new ArrayList<>(); IteratorTester<Integer> tester = new IteratorTester<Integer>(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue( ex.getMessage().contains("session fail") || (ex.getCause() != null && ex.getCause().getMessage().contains("session fail"))); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
// retrying make no sense, as it will never become available again. if (params.contains(RequestParam.NO_RETRY) || !(smbe.getCause() instanceof TransportException) && smbe.getNtStatus() != NtStatus.NT_STATUS_INVALID_PARAMETER) { log.debug("Not retrying", smbe); throw smbe; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e); } } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testCreateSystemProperties(cmdList, invalidFile); fail("Should throw IORuntimeException"); } catch (IORuntimeException e) { assertNotNull(e.getCause()); assertTrue(e.getCause() instanceof IOException); } } // Test getLogName method public void test_getLogName() { // Test without suffix execJob.logSuffix = "";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
CIFSException ex = assertThrows(CIFSException.class, () -> trace.connectWrapException(loc)); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Failed to connect to server")); assertSame(thrown, ex.getCause()); } @Test @DisplayName("connectWrapException: rethrows SmbException unchanged") void connectWrapException_rethrowsSmbException() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
SerializableTester.reserialize(instance); } catch (Exception e) { // sneaky checked exception throw new AssertionError( "Serialization failed on return value of " + factory, e.getCause()); } } } return this; } /** * Runs equals and serialization test on the return values. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* * But for now, we use the value from the system property as our best guess. */ return fromSystemProperty; } catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); // in case it's an Error or something return fromSystemProperty; // should be impossible } catch (NoSuchMethodException shouldBeImpossible) { return fromSystemProperty;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
// mayInterruptIfRunning is irrelevant. cancel(false); return; } catch (ExecutionException e) { // Set the cause of the exception as this future's exception. setException(e.getCause()); return; } catch (Exception e) { // sneaky checked exception // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang. setException(e); return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0)