Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for throwsOnUnexpectedStructureSize (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertEquals(2, resp.getErrorContextCount());
            assertArrayEquals(new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }, resp.getErrorData());
        }
    
        @Test
        void throwsOnUnexpectedStructureSize() throws Exception {
            // structureSize != 49 and != 9 should raise an exception
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] buf = new byte[header.length + 10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top