Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testWriteBytesAtDifferentOffsets (0.16 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200 })
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets(int offset) {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                assertEquals(0, (pos + padding) % 8);
            }
        }
    
        @Test
        @DisplayName("Should write bytes at different buffer offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                reqWithNull.size();
            });
        }
    
        @Test
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets() throws Exception {
            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top