Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testMultipleWrites (0.23 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should handle multiple write operations")
        void testMultipleWrites() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer1 = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            outputStream.write(data);
    
            // Then - verify write request was sent
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
        void testMultipleWrites() throws IOException, CIFSException {
            // Given
            when(mockTreeHandle.isSMB2()).thenReturn(true);
            when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top