- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ensureDFSResolved (3.23 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
} @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds") void ensureDFSResolved_success() throws Exception { // Arrange: default mock does nothing // Act: call method under test handle.ensureDFSResolved(); // Assert: interaction happened and did not throw verify(handle, times(1)).ensureDFSResolved(); verifyNoMoreInteractions(handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("ensureDFSResolved forwards to tree connection with locator") void ensureDFSResolvedDelegates() throws Exception { // Confirms DFS resolution is delegated with the correct locator // Act handle.ensureDFSResolved(); // Assert & interaction verify verify(treeConnection).ensureDFSResolved(resourceLoc); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
return tr.acquire(); } } } } SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc) throws CIFSException { return ensureDFSResolved(loc, null); } SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc, final RequestWithPath request) throws CIFSException { if (request instanceof SmbComClose) {
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/SmbTreeHandleImpl.java
} @Override public SmbSessionImpl getSession() { return this.treeConnection.getSession(); } @Override public void ensureDFSResolved() throws CIFSException { this.treeConnection.ensureDFSResolved(this.resourceLoc); } @Override public boolean hasCapability(final int cap) throws SmbException { return this.treeConnection.hasCapability(cap); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
/** * Ensures that DFS referrals have been resolved for this tree * @throws SmbException if an SMB-specific error occurs * @throws CIFSException if a general CIFS error occurs */ void ensureDFSResolved() throws CIFSException; /** * Checks if the server has the specified capability * @param cap the capability flag to check * @return whether the capability is present
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} }; SmbException ex3 = assertThrows(SmbException.class, () -> c3.connectWrapException(loc)); assertEquals("boom", ex3.getMessage()); } @Test @DisplayName("ensureDFSResolved returns early for SmbComClose requests") void ensureDFSResolved_closeRequest_noop() throws Exception { SmbTreeConnection c = spy(newConn());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)