Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 35 for integrationTests (0.09 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  8. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertNotNull(response);
                // Response should be created with same buffer and offset
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete read request workflow")
            void testCompleteReadWorkflow() {
                // Setup complete request
                request.setFileId(testFileId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top