Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handleDFSReferral (0.05 sec)

  1. 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)
  2. 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)
Back to top