Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDecodeWithRetainPayload (1.86 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                    testBlock.decode(buffer, 0);
                });
            }
    
            @Test
            @DisplayName("Test decode with retain payload")
            void testDecodeWithRetainPayload() throws SMBProtocolDecodingException {
                testBlock.retainPayload();
    
                byte[] buffer = new byte[1024];
                System.arraycopy(SMBUtil.SMB_HEADER, 0, buffer, 0, SMBUtil.SMB_HEADER.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertTrue(length > 0);
            assertEquals(4, testBlock.wordCount);
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test decode with retain payload")
        void testDecodeWithRetainPayload() throws SMBProtocolDecodingException {
            TestAndXServerMessageBlock testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top