- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getConnectedShare (0.1 sec)
-
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for getConnectedShare() method. * Verifies that the method returns the correct connected share name. */ @Test void testGetConnectedShare() { when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE"); assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
*/ String getOEMDomainName() throws CIFSException; /** * Gets the name of the share this tree is connected to * @return the share we are connected to */ String getConnectedShare(); /** * Checks if this tree handle refers to the same tree as another * @param th the tree handle to compare with * @return whether the handles refer to the same tree */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
CIFSContext ctx = mock(CIFSContext.class); new SmbTreeConnectionTrace(ctx).getTreeType(); }), Arguments.of("getConnectedShare()", (org.junit.jupiter.api.function.Executable) () -> { CIFSContext ctx = mock(CIFSContext.class); new SmbTreeConnectionTrace(ctx).getConnectedShare(); })); } @ParameterizedTest(name = "Invalid usage causes NPE: {0}") @MethodSource("npePublicGetters")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0)