- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testWriteByteArray (0.23 sec)
-
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbRandomAccessFile.write(42); assertEquals(1, smbRandomAccessFile.getFilePointer()); } @Test void testWriteByteArray() throws SmbException { byte[] testData = new byte[] { 0, 1, 2, 3, 4 }; // Mock the write operation doAnswer(new Answer<Void>() { @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When outputStream.write(65); // Write 'A' // Then verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any()); } @Test void testWriteByteArray() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)