- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for handleDFSReferral (0.2 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/"); assertEquals("smb://server/share/", locator.handleDFSReferral(null, "")); verify(locator).handleDFSReferral(null, ""); verifyNoMoreInteractions(locator); } // Invalid input: null reqPath leads to NPE from implementation @Test @DisplayName("handleDFSReferral throws NPE on null reqPath")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertTrue(locator("smb://server/share/").isRootOrShare()); assertFalse(locator("smb://server/share/path").isRootOrShare()); } @Test @DisplayName("DFS getters and handleDFSReferral update paths and share") void testDfsBehavior() { SmbResourceLocatorImpl l = locator("smb://server/share/path"); assertNull(l.getDfsReferral());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
/** * Internal: for testing only * * @param dr the DFS referral data to process * @param reqPath the requested path to resolve * @return resolved unc path */ String handleDFSReferral(DfsReferralData dr, String reqPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0)