- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getSmbTree (0.17 seconds)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
verify(session).treeConnectLogon(); } // Happy path: getSmbTree returns a tree and receives correct args @Test @DisplayName("getSmbTree returns tree and captures arguments") void getSmbTree_happy() { when(session.getSmbTree(anyString(), anyString())).thenReturn(tree); String share = "share";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
* * @param share the share name to connect to * @param service the service type for the connection * @return tree instance */ SmbTree getSmbTree(String share, String service); /** * Initiate reauthentication * * @throws CIFSException if reauthentication fails */ void reauthenticate() throws CIFSException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
// Session starts with usage count > 0 assertTrue(session.isInUse(), "Session should be in use initially"); // Create and release trees SmbTreeImpl tree = session.getSmbTree("share1", null); assertNotNull(tree, "Tree should be created"); tree.release(); // Release the session (back to initial state) session.release();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.7K bytes - Click Count (0)