Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for throwsWhenOutputExceedsProvidedBuffer (0.14 sec)

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

            assertNull(resp.getOutputData());
            assertThrows(SmbException.class, () -> resp.getOutputData(SrvCopyChunkCopyResponse.class));
        }
    
        @Test
        void throwsWhenOutputExceedsProvidedBuffer() throws Exception {
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] output = new byte[] { 1, 2, 3, 4, 5, 6 };
    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