- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetPath (0.46 sec)
-
src/test/java/jcifs/DfsReferralDataTest.java
// Then assertEquals(pathConsumed, result); verify(mockReferralData).getPathConsumed(); } @Test @DisplayName("Should get path") void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// For now, we expect the NPE to maintain backward compatibility assertThrows(NullPointerException.class, () -> new SmbFile("smb1://").getParent()); } @Test public void testGetPath() throws MalformedURLException { // Path should be the original, uncanonicalized URL String url = "smb1://server/share/../share/file.txt"; SmbFile smbFile = new SmbFile(url);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)