Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDecodeWithBufferOffset (0.66 sec)

  1. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            assertEquals(8, bytesDecoded);
            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[20]; // Extra space to test offset
            int bufferIndex = 7; // Start at offset 7
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(bytesRead > 0);
            assertEquals(fileName, notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            String fileName = "offset_test.txt";
            int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
            int offset = 50;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Verify
            assertEquals(expectedFilename, fileBothDirectoryInfoNonUnicode.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            int offset = 10;
            String expectedFilename = "offsetfile.txt";
            byte[] buffer = new byte[200 + offset];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top