Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadAndXWireFormatWithErrorCode (0.12 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(0, next.readParamCalls);
            assertEquals(1, next.readBytesCalls);
        }
    
        @Test
        @DisplayName("readAndXWireFormat clears chaining when errorCode set")
        void testReadAndXWireFormatWithErrorCode() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
            block.errorCode = 1; // any non-zero error code should inhibit chaining
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            verify(mockAndxCommand).received();
        }
    
        @Test
        @DisplayName("Test readAndXWireFormat with error code")
        void testReadAndXWireFormatWithErrorCode() throws SMBProtocolDecodingException {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, mockAndxCommand);
            testBlock.errorCode = 1; // Set error code
    
    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