- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGetSmbResource (0.11 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0)