Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHexdumpWithOffset (0.47 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

                Hexdump.toHexString(null);
            });
        }
    
        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
        void testHexdumpWithOffset() {
            // Given
            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            String[] lines = output.split(System.getProperty("line.separator"));
            assertTrue(lines.length >= expectedLines);
        }
    
        @Test
        @DisplayName("Should handle hexdump with offset")
        void testHexdumpWithOffset() {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
            // Create test data and dump from offset
            byte[] data = createTestData(64);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top