- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 747 for correcta (0.03 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Then assertEquals(0, request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION); } @Test @DisplayName("Should generate correct dialect list") void testDialectGeneration() { // Given when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 }; int result = SessionServicePacket.readInt2(src, 0); assertEquals(0x1234, result); } @Test @DisplayName("readInt2 with offset should read from correct position") void testReadInt2WithOffset() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
void shouldImplementFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsSizeInformation.class)); } @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
docs/en/docs/deployment/versions.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
private static final int TEST_FID = 0x1234; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); // Assert assertNotNull(transPeekNamedPipe);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(HEADER_SIZE + CHUNK_SIZE, bytesWritten); // Verify source key at correct position for (int i = 0; i < SOURCE_KEY_SIZE; i++) { assertEquals(sourceKey[i], largeBuffer[position + i]); } // Verify chunk count at correct position assertEquals(1, SMBUtil.readInt4(largeBuffer, position + SOURCE_KEY_SIZE)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(16, result); verify(request, times(1)).encode(buffer, 0); } @Test @DisplayName("size() method should return correct size") void testSizeMethod() { CreateContextRequest request = mock(CreateContextRequest.class); when(request.size()).thenReturn(64); int size = request.size();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
private TestRequestWithPath testImplementation; @BeforeEach void setUp() { testImplementation = new TestRequestWithPath(); } @Test @DisplayName("Test getPath returns correct path") void testGetPath() { // Test with mock String expectedPath = "/share/folder/file.txt"; when(requestWithPath.getPath()).thenReturn(expectedPath);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
void shouldImplementFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsFullSizeInformation.class)); } @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should create request with correct command type and path") void testConstructorSetsCorrectCommandAndPath() throws Exception { // Given & When String path = "\\\\testserver\\testshare"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); // Then - verify command is set correctly using reflectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)