- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testCreateNewFile (0.18 sec)
-
src/test/java/jcifs/smb/SmbFileTest.java
smbFile.renameTo(dest); // Assert verify(mockTreeHandle).send(any(SmbComRename.class), any(SmbComBlankResponse.class)); } @Test void testCreateNewFile() throws SmbException, CIFSException, IOException { // Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); SmbFileHandleImpl mockFileHandle = mock(SmbFileHandleImpl.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertTrue(initialFile.canRead(), "Should be able to read initial file"); log.info("Basic connectivity test passed - can connect, list, and read files"); } @Test void testCreateNewFile() throws Exception { SmbFile file = new SmbFile(baseUrl + "shared/newfile.txt", context); assertFalse(file.exists(), "File should not exist initially"); file.createNewFile();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)