Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for integrationTests (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                    assertEquals(0, result);
                });
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should work as complete request-response cycle")
            void testCompleteRequestResponseCycle() {
                // Create request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                // Padding bytes (4 bytes) at offset 16-19
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple reads")
            void testMultipleReads() throws SMBProtocolDecodingException {
                // First read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Integration tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete read-write cycle")
            void testCompleteReadWriteCycle() throws SMBProtocolDecodingException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(777, SMBUtil.readInt4(exactBuffer, 16));
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should encode and verify complete structure")
            void testCompleteEncodingStructure() {
                // Given
                long sourceOffset = 0x1234567890ABCDEFL;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                    assertEquals(4, bytesRead);
                });
            }
        }
    
        @Nested
        @DisplayName("Integration tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete read-write cycle")
            void testCompleteReadWriteCycle() throws SMBProtocolDecodingException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                echoResponse.addFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
                assertTrue(echoResponse.isSigned());
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete echo response workflow")
            void testCompleteEchoResponseWorkflow() throws Exception {
                // Setup
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                fileIdField.setAccessible(true);
                assertArrayEquals(fileId, (byte[]) fileIdField.get(notification));
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle multiple consecutive reads")
            void testMultipleConsecutiveReads() throws Exception {
                // First read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // Verify chunk count is zero
                assertEquals(0, SMBUtil.readInt4(buffer, startIndex + SOURCE_KEY_SIZE));
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete copy operation with multiple chunks")
            void testCompleteCopyOperation() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                SMBUtil.writeInt4(totalBytes, buffer, 8);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple decodes")
            void testMultipleDecodes() throws SMBProtocolDecodingException {
                // First decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNull(result, "Should return null for null input");
            }
        }
    
        @Nested
        @DisplayName("Comprehensive Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("All encoding methods should handle empty strings")
            void testEncodingMethodsWithEmptyString() {
                // 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