Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructorWithAndx (0.09 sec)

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

                called = true;
                lastLength = length;
            }
        }
    
        @Test
        @DisplayName("Constructor with andx sets next command")
        void testConstructorWithAndx() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
    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

        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseBatching()).thenReturn(true);
        }
    
        @Test
        @DisplayName("Test constructor with andx command")
        void testConstructorWithAndx() {
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, mockAndxCommand);
    
    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