Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testEncodeWithValidDestination (0.25 seconds)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> messageBlock.decode(buffer, bufferIndex));
        }
    
        @Test
        @DisplayName("Test encode method with valid destination")
        void testEncodeWithValidDestination() {
            // Given
            byte[] dst = new byte[256];
            int dstIndex = 0;
            int expectedLength = 50;
    
            when(messageBlock.encode(dst, dstIndex)).thenReturn(expectedLength);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top