Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testMultipleReads (0.14 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple reads")
            void testMultipleReads() throws SMBProtocolDecodingException {
                // First read
                byte[] buffer1 = createValidWriteResponse(1024, 512);
                response.readBytesWireFormat(buffer1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertTrue(response instanceof CommonServerMessageBlockResponse);
        }
    
        @Test
        @DisplayName("Should handle multiple read operations")
        void testMultipleReads() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer1 = new byte[256];
            byte[] buffer2 = new byte[256];
    
            // Prepare both buffers with valid structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testGetResponseLengthWithZeroDataCount() {
            assertEquals(0, response.getResponseLength());
        }
    
        @Test
        void testMultipleReads() throws SMBProtocolDecodingException {
            // First read
            byte[] firstData = { 1, 2, 3 };
            byte[] buffer1 = new byte[10];
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        @Nested
        @DisplayName("Multiple Read Operations Tests")
        class MultipleReadOperationsTests {
    
            @Test
            @DisplayName("Should update fields correctly on subsequent reads")
            void testMultipleReads() throws SMBProtocolDecodingException {
                // First read
                byte[] buffer1 = new byte[60];
                SMBUtil.writeInt2(60, buffer1, 0);
                SMBUtil.writeInt2(1, buffer1, 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top