- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 295 for getPath (0.04 sec)
-
src/test/java/jcifs/internal/RequestWithPathTest.java
assertEquals(expectedPath, testImplementation.getPath()); } @Test @DisplayName("Test setPath updates path correctly") void testSetPath() { // Test with mock String newPath = "/new/path/file.txt"; doNothing().when(requestWithPath).setPath(newPath); requestWithPath.setPath(newPath); verify(requestWithPath, times(1)).setPath(newPath);
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/smb2/create/Smb2CreateRequestTest.java
// Test path with both leading and trailing backslash request.setPath("\\test\\directory\\"); assertEquals("\\test\\directory", request.getPath()); // Test single backslash request.setPath("\\"); assertEquals("\\", request.getPath()); // Test empty path request.setPath(""); assertEquals("\\", request.getPath()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
indent.append(" "); } } else if (collectStepTrace != null) { if (collectStepTrace.getPath().get(0).getArtifact() == null) { return; } baseName = ArtifactIdUtils.toId(collectStepTrace.getPath().get(0).getArtifact()) .replace(":", "_"); trackingFile = trackingDir.resolve(baseName + ext);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
} // Perform the actual reconnection boolean success = performReconnection(info); if (success) { handleManager.completeReconnect(info.getPath(), true); log.info("Successfully reconnected handle: {}", info.getPath()); return info;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
assertEquals("host", url1.getHost()); assertEquals(445, url1.getPort()); assertEquals("/share", url1.getPath()); assertEquals("smb", url2.getProtocol()); assertEquals("host", url2.getHost()); assertEquals(1234, url2.getPort()); assertEquals("/share/file.txt", url2.getPath()); assertEquals("smb", url3.getProtocol()); assertEquals("host", url3.getHost());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source); assertInstanceOf(Sources.BuildPathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testResolvedSource() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
return getPath("WEB-INF/", "classes", names); } /** * Gets the path to original files directory. * * @param names the path components to append to the orig directory * @return the Path object pointing to the original files directory */ public static Path getOrigPath(final String... names) { return getPath("WEB-INF/", "orig", names); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
when(mockFile.getPath()).thenReturn("/share/dir/"); RecordingFilter filter = new RecordingFilter(); filter.accept(mockFile); // Verify the filter stored the reference // assertSame may not be necessary but demonstrates captured file // we simply check that getPath was called verify(mockFile, times(1)).getPath(); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
// Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/"); // Implementation uses dir.getPath() to check if file should be in that path SmbFilenameFilter filter = (dir, name) -> { if (dir == null) return false; String path = dir.getPath();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then assertEquals(path, result); verify(mockReferralData).getPath(); } @Test @DisplayName("Should get expiration") void testGetExpiration() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)