- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 40 for createResponse (0.11 seconds)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertEquals(null, storedFileId); } @Test @DisplayName("createResponse should return Smb2FlushResponse with correct config") void testCreateResponse() throws Exception { Smb2FlushResponse response = request.createResponse(mockContext, request); assertNotNull(response); // Verify response has correct config
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
throw new RuntimeException(e); } } @Test @DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2SetInfoRequest(mockConfig); Smb2SetInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response); verify(mockContext, times(1)).getConfig(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
this.fileId = fileId; this.outputBuffer = outputBuffer; this.maxOutputResponse = outputBuffer.length; } @Override protected Smb2IoctlResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2IoctlResponse> req) { return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode); } /** * Set the IOCTL flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
} @Test @DisplayName("Test createResponse") void testCreateResponse() { // Setup mock for this specific test when(mockContext.getConfig()).thenReturn(mockConfig); request = new Smb2CreateRequest(mockConfig, "test\\file.txt"); Smb2CreateResponse response = request.createResponse(mockContext, request); assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} } @Test @DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2QueryInfoRequest(mockConfig); request.setInfoType((byte) 0x01); request.setFileInfoClass((byte) 0x04); Smb2QueryInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
*/ public Smb2CreateRequest(final Configuration config, final String name) { super(config, SMB2_CREATE); setPath(name); } @Override protected Smb2CreateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CreateResponse> req) { return new Smb2CreateResponse(tc.getConfig(), this.name); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When Smb2TreeDisconnectResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2TreeDisconnectResponse); verify(mockContext, times(1)).getConfig(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertEquals(path, actualPath); } @Test @DisplayName("Should create proper response object") void testCreateResponse() { // When Smb2TreeConnectResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2TreeConnectResponse); verify(mockContext, times(1)).getConfig(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should create correct response") void testCreateResponse() { // When Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
void testCreateResponse() { // Given request = new Smb2NegotiateRequest(mockConfig, 0); // When Smb2NegotiateResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2NegotiateResponse); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)