- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testNullPath (0.05 seconds)
-
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testEmptyPath() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath(""); }); } @Test public void testNullPath() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath(null); }); } @Test public void testSpecialShareNames() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Then assertEquals(0, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); // Path length should be 0 } @Test @DisplayName("Should handle null path") void testNullPath() { // When creating with null path Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null); // Then - should not throw during constructionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0)