Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testReadBytesWireFormatValid (1.88 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        }
    
        @Nested
        @DisplayName("readBytesWireFormat tests")
        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid structure with size 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        }
    
        @Nested
        @DisplayName("Read Bytes Wire Format Tests")
        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid structure size of 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write structure size = 4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(resp);
        }
    
        @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
    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