- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for isReceived (0.07 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@Test @DisplayName("Should track received state") void testReceivedState() { assertFalse(echoResponse.isReceived()); echoResponse.received(); assertTrue(echoResponse.isReceived()); } @Test @DisplayName("Should track error state") void testErrorState() { assertFalse(echoResponse.isError());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
void testReset() { // Set initial state response.received(); assertTrue(response.isReceived()); // Reset response.reset(); assertFalse(response.isReceived()); } @Test @DisplayName("Should handle received notification") void testReceived() throws InterruptedException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
void watch_smb2_success_returnsList_andClosesTree() throws Exception { List<FileNotifyInformation> info = new ArrayList<>(); NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - isReceived") void testIsReceived() { // Given when(response.isReceived()).thenReturn(true); // When boolean received = response.isReceived(); // Then assertTrue(received); verify(response).isReceived(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
chainedResponse = treeConnect(request, response); } if (request == null || chainedResponse != null && chainedResponse.isReceived()) { return chainedResponse; } // fall trough if the tree connection is already established // and send it as a separate request instead
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
@Test @DisplayName("Test received state") void testReceivedState() { assertFalse(testBlock.isReceived()); testBlock.received(); assertTrue(testBlock.isReceived()); testBlock.clearReceived(); assertFalse(testBlock.isReceived()); } @Test @DisplayName("Test exception state") void testExceptionState() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
makeKey(request); response.isReceived = false; try { response_map.put(request, response); doSend(request); response.expiration = System.currentTimeMillis() + timeout; while (!response.isReceived) { wait(timeout); timeout = response.expiration - System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response); // Test some inherited methods assertFalse(response.isReceived()); assertFalse(response.isError()); assertNull(response.getExpiration()); } @Test @DisplayName("Should handle configuration correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
Request curReq = request; while (curResp != null) { synchronized (curResp) { if (!curResp.isReceived()) { if (timeout > 0) { curResp.wait(timeout); if (!curResp.isReceived() && handleIntermediate(curReq, curResp)) { continue; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
this.errorCode = 0; this.exception = null; } // Methods from jcifs.util.transport.Response interface @Override public boolean isReceived() { return received; } @Override public void received() { this.received = true; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0)