- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 935 for failure (0.06 seconds)
-
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message); } return; } fail("expected failure not reported"); } private static class ForwardingRunnable implements Runnable { private final Runnable runnable; ForwardingRunnable(Runnable runnable) { this.runnable = runnable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */ if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse) this).isExtended) { wordCount += 8; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIterator.java
FAILED, } private @Nullable T next; /** * Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when * there are no elements left in the iteration. Failure to do so could result in an infinite loop. * * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as doesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
} } /** * Builds a failure message from a bulk response containing failed operations. * * @param bulkResponse The bulk response containing potential failures. * @param ignoreAlreadyExists Whether to ignore already existing document failures. * @return The formatted failure message, or empty string if no failures to report. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public boolean verifySignature(final byte[] buffer, final int i, final int size) { // observed too that signatures on error responses are sometimes wrong?? // Looks like the failure case also is just reflecting back the signature we sent // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
@MethodSource("wrapExceptions") void connectWrapException_wrapsToSmbException(SmbResourceLocatorImpl loc, Exception thrown) throws Exception { // Arrange: spy on instance to force connect() failure with specific exception CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); doThrow(thrown).when(trace).connect(loc);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message); } return; } fail("expected failure not reported"); } private static class ForwardingRunnable implements Runnable { private final Runnable runnable; ForwardingRunnable(Runnable runnable) { this.runnable = runnable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
transport.setState(3); // Connected assertTrue(transport.connect(1000)); } @Test @DisplayName("connect should throw TransportException on connection failure") void shouldThrowOnConnectionFailure() { transport.setState(0); // Not connected transport.setConnectFails(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractIterator.java
FAILED, } private @Nullable T next; /** * Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when * there are no elements left in the iteration. Failure to do so could result in an infinite loop. * * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as doesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0)