Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testReadDataWireFormatWithOffset (0.43 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            System.arraycopy(outputBuffer, 0, secondResult, 0, secondData.length);
            assertArrayEquals(secondData, secondResult);
        }
    
        @Test
        void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException {
            // Test reading data from different buffer offsets
            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with offset")
        void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            byte[] buffer = new byte[200];
            int offset = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertNotNull(response.getDfsResponse());
            }
    
            @Test
            @DisplayName("Should handle readDataWireFormat with offset")
            void testReadDataWireFormatWithOffset() {
                byte[] fullBuffer = new byte[200];
                byte[] dfsData = createValidDfsReferralBuffer();
                int offset = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top