- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testEmptyPath (0.7 sec)
-
src/test/java/jcifs/util/PathValidatorTest.java
String path = validator.validatePath("\\share\\any\\file.txt"); assertEquals("\\share\\any\\file.txt", path); } @Test public void testEmptyPath() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath(""); }); } @Test public void testNullPath() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertArrayEquals(pathBytes, actualPath); } @Test @DisplayName("Should handle empty path") void testEmptyPath() throws Exception { // Given String emptyPath = ""; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, emptyPath); byte[] buffer = new byte[256]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)