Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToStringContainsCount (0.28 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
            assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer");
        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top