Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for integrationTests (0.08 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

                verify(transportPool).removeTransport(transport);
                verify(transportPool).removeTransport(transport2);
            }
        }
    
        @Nested
        @DisplayName("Integration Scenarios")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should complete full connection lifecycle")
            void testFullConnectionLifecycle() throws Exception {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                assertEquals(fileFsSizeInfo.getCapacity(), fileFsSizeInfo.getFree());
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should work as AllocInfo implementation")
            void shouldWorkAsAllocInfoImplementation() throws SMBProtocolDecodingException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                verify(mockContext, times(1)).getConfig();
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete write request workflow")
            void testCompleteWriteWorkflow() {
                // Setup complete request
                byte[] data = new byte[2048];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertNull(bindWithParams.getResult(), "Should return null when result is 0");
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Bind message constructor should set correct values")
            void testBindMessageConstructor() throws Exception {
                // Given
                int maxXmit = 2048;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                Smb2LockResponse response = req.createResponse(mockContext, req);
                assertNotNull(response);
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete lock request workflow")
            void testCompleteLockWorkflow() {
                // Setup complete request with multiple locks
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top