- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testReadBytesWireFormatVariousInvalidSizes (0.17 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 1, 3, 4, 5, 10, 100, 255, 256, 1000, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { byte[] buffer = new byte[1024]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int structureSize) { byte[] buffer = new byte[1024]; int bufferIndex = 50; SMBUtil.writeInt2(structureSize, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 8, 16, 100, 255, 1024, 4096, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); byte[] buffer = new byte[1024]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); byte[] buffer = new byte[1024]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0)