- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 336 for directly (0.11 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
List<SmbFile> files = Arrays.asList(mockFile1, mockFile2); directoryLeaseManager.updateDirectoryCache(directoryPath, files); // Verify cache entry was updated (test the cache content directly) DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(cacheEntry); assertTrue(cacheEntry.isComplete());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
*/ public Object get(final String key) { return params.get(key); } /** * Retrieves a parameter value as a String. * If the stored value is already a String, it is returned directly. * Otherwise, the toString() method is called on the value. * * @param key the parameter key to look up * @return the parameter value as a String, null if not found or value is null */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId); assertNotNull(newRequest, "Should create request with new file ID"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false); // The setup count should be initialized to 0x04 in the constructor // We can't directly access it, but we can verify the behavior is correct assertNotNull(notifyChange); } @Test @DisplayName("Test combined completion filters") void testCombinedCompletionFilters() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Test that inherited properties are accessible // Test dataCount property - using public method response.setDataCount(100); // Note: getDataCount() is protected, so we can't test it directly // Test subCommand property assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand()); // Test status property - getStatus() is publicRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); // Act: directly invoke finalize to simulate GC finalization path trace.finalize(); // Assert: verify that finalize delegated to checkRelease() verify(trace, times(1)).checkRelease(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
update(sequence, 0, sequence.length); index += 8; if (response.command == ServerMessageBlock.SMB_COM_READ_ANDX) { /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b. */ final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) response; final int length = response.length - raxr.dataLength;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
update(sequence, 0, sequence.length); index += 8; if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) { /* * SmbComReadAndXResponse reads directly from the stream into separate byte[] b. */ final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg; final int length = msg.getLength() - raxr.getDataLength();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, 0, 36); // decode reads 36 bytes // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix timeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
void testDeleteDirectory() throws SmbException, CIFSException { // Arrange // Mock that it exists and is a directory doReturn(true).when(smbFile).exists(); doReturn(true).when(smbFile).isDirectory(); // Mock listFiles to return empty array (directory is empty) doReturn(new SmbFile[0]).when(smbFile).listFiles();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0)