- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetSmbResource (1.2 sec)
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
} @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper); } @Test void testGetSmbResource() throws CIFSException, MalformedURLException { // Test get(String url) method String url = "smb://server/share/file.txt"; SmbResource mockSmbResource = mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
verify(configWithCreds).getDefaultPassword(); verify(configWithCreds).getDefaultDomain(); } @Test @DisplayName("get method should create SmbResource from URL") void testGetSmbResource() throws CIFSException { // When SmbResource resource = context.get("smb://server/share/file.txt"); // Then assertNotNull(resource, "Should create SMB resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)