Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for actualData (0.89 sec)

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

            int result = response.readDataWireFormat(buffer, offset, testData.length);
    
            assertEquals(testData.length, result);
            byte[] actualData = new byte[testData.length];
            System.arraycopy(outputBuffer, 0, actualData, 0, testData.length);
            assertArrayEquals(testData, actualData);
        }
    
        @Test
        void testReadDataWireFormatNullOutputBuffer() {
            // Test behavior when outputBuffer is null (edge case)
    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/smb2/ioctl/SrvPipePeekResponseTest.java

            // Decode
            response.decode(buffer, 0, 32);
    
            // Verify data integrity
            byte[] actualData = response.getData();
            assertEquals(16, actualData.length);
            for (int i = 0; i < 16; i++) {
                assertEquals(expectedData[i], actualData[i], "Data mismatch at index " + i);
            }
        }
    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/smb2/tree/Smb2TreeConnectRequestTest.java

            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, bodyOffset + 6));
    
            // Verify path content
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, bodyOffset + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle chain operation correctly")
        void testChain() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/HandlerTest.java

            String actualPath = rel.getPath();
            assertNotNull(actualPath, "Path should not be null");
            // Based on the test output, the actual path is "/bar" when parsing relative spec "foo/bar"
            // This happens because the URL class parses "foo" as the host and "/bar" as the path
            assertEquals("/bar", actualPath, "Path should be /bar after URL parsing");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top