- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 52 for testReadBytesWireFormat (0.12 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertEquals(0x001F01FF, access, "Should return maximal access value"); } @Test @DisplayName("Should decode response from bytes correctly") void testReadBytesWireFormat() throws Exception { // Given - Prepare a valid SMB2 Tree Connect Response buffer byte[] buffer = new byte[16]; // Structure size (16) buffer[0] = 0x10;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
Shinsuke Sugaya <******@****.***> 1756627257 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
assertEquals(0, bytesRead); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#readBytesWireFormat(byte[], int)}. */ @Test public void testReadBytesWireFormat() { // Given SmbComClose smbComClose = new SmbComClose(config, 1, 1L); byte[] buffer = new byte[0]; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
verify(mockOutputData).encode(any(byte[].class), anyInt()); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); byte[] buffer = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
@Nested @DisplayName("ReadBytesWireFormat Tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0; // This method does nothing and should return 0. assertEquals(0, response.readBytesWireFormat(buffer, bufferIndex)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Verify reserved field is zero assertEquals(0, SMBUtil.readInt4(buffer, offset + 28)); } @Test @DisplayName("Should read empty bytes from wire format") void testReadBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesRead = request.readBytesWireFormat(buffer, offset); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)