- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testWriteDataWireFormatWithOffset (0.09 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should return 0 for writeDataWireFormat with offset") void testWriteDataWireFormatWithOffset() { byte[] dst = new byte[100]; int result = response.writeDataWireFormat(dst, 75); assertEquals(0, result); } } @NestedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("writeDataWireFormat with offset should return 0") void testWriteDataWireFormatWithOffset() { // Arrange byte[] dst = new byte[100]; int dstIndex = 75; // Act int result = response.writeDataWireFormat(dst, dstIndex); // AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
for (int i = 40; i < 46; i++) { assertEquals(0, buffer[i]); } } @Test @DisplayName("Test writeDataWireFormat with offset") void testWriteDataWireFormatWithOffset() { // Setup mock when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(30); trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)