Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test successful parsing with valid data.
         */
        @Test
        public void testValidNegotiateResponse() throws SMBProtocolDecodingException {
            byte[] validBuffer = createValidNegotiateResponseBuffer();
    
            // Should not throw any exception
            int bytesRead = response.readBytesWireFormat(validBuffer, 0);
    
            assertTrue(bytesRead > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        @Test
        @DisplayName("Should read valid negotiate response from wire format")
        void testReadBytesWireFormatValid() throws Exception {
            // Given
            byte[] buffer = createValidNegotiateResponseBuffer();
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertTrue(bytesRead > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top